diff options
author | Benny Baumann <BenBE@geshi.org> | 2015-07-31 08:54:58 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2015-07-31 08:54:58 +0200 |
commit | 39b237c1d4e035e6df6a7588261b6460eaf757ed (patch) | |
tree | 2c213c90556ed7a2bc9e22367b096149946b80d8 | |
parent | fc7a085b29e36dccd3e891f693693679b5cdc801 (diff) | |
parent | bbfbb594549557f794015112dd3845d6b4f704ba (diff) | |
download | cacert-mgr-39b237c1d4e035e6df6a7588261b6460eaf757ed.tar.gz cacert-mgr-39b237c1d4e035e6df6a7588261b6460eaf757ed.tar.xz cacert-mgr-39b237c1d4e035e6df6a7588261b6460eaf757ed.zip |
Merge branch 'bug-1391'
-rw-r--r-- | manager/application/models/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manager/application/models/User.php b/manager/application/models/User.php index 83857ca..24b27ed 100644 --- a/manager/application/models/User.php +++ b/manager/application/models/User.php @@ -121,7 +121,7 @@ class Default_Model_User { $this->points = 100; $query = "SELECT COUNT(`points`) AS `total` FROM `notary` " . - "WHERE `from` = :user AND `method` == 'Face to Face Meeting' AND `from` != `to`"; + "WHERE `from` = :user AND `method` = 'Face to Face Meeting' AND `from` != `to`"; $query_params['user'] = $this->id; $row = $this->db->query($query, $query_params)->fetch(); if ($row['total'] === null) $row['total'] = 0; |