This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
xyz.qtc63355
$project_exists = Project::where('slug','=',$this->param('slug'))->exists();
Whats wrong with this query? It's always 1, even if a the project doesnt exist!
xyz.qtc63355
Project::where('slug','=',$this->param('slug'))->first();
And why do I get the first entry all the time with this query?
1-3 of 3