Missing space in SQL query
Signed-off-by: Michael Tänzer <neo@nhng.de>
This commit is contained in:
parent
bf1495e18b
commit
445b9b133f
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class Default_Model_User {
|
|||
*/
|
||||
public function getAssurerStatus() {
|
||||
$query = 'SELECT 1 FROM `users` WHERE `users`.`id` = :user AND '.
|
||||
'`assurer_blocked` = 0 AND'.
|
||||
'`assurer_blocked` = 0 AND '.
|
||||
|
||||
'EXISTS(SELECT * FROM `cats_passed` AS `cp`, `cats_variant` AS `cv` '.
|
||||
'WHERE `cp`.`variant_id` = `cv`.`id` AND `cv`.`type_id` = 1 AND '.
|
||||
|
|
Loading…
Reference in a new issue