summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-06-20 23:11:39 +0200
committerMichael Tänzer <neo@nhng.de>2011-06-20 23:11:39 +0200
commit445b9b133f9e88099422892693966ae2a6f5212e (patch)
tree6c1fb4fd518d057c9a387b25b67c38b009595c52
parentbf1495e18b3deabc34ae86f6a34642e9bb221235 (diff)
downloadcacert-mgr-445b9b133f9e88099422892693966ae2a6f5212e.tar.gz
cacert-mgr-445b9b133f9e88099422892693966ae2a6f5212e.tar.xz
cacert-mgr-445b9b133f9e88099422892693966ae2a6f5212e.zip
Missing space in SQL query
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--manager/application/models/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager/application/models/User.php b/manager/application/models/User.php
index f68b352..55eeadb 100644
--- a/manager/application/models/User.php
+++ b/manager/application/models/User.php
@@ -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 '.