Merge branch 'bug-1391'
This commit is contained in:
commit
39b237c1d4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue