diff options
author | INOPIAE <inopiae@cacert.org> | 2015-07-31 09:12:31 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2015-07-31 09:12:31 +0200 |
commit | f97cb26f07258d26bec347ce048d2118ee88b487 (patch) | |
tree | 8b9d8215c66c012c55b9cab7a6332db663efe36a /manager | |
parent | bbfbb594549557f794015112dd3845d6b4f704ba (diff) | |
download | cacert-mgr-f97cb26f07258d26bec347ce048d2118ee88b487.tar.gz cacert-mgr-f97cb26f07258d26bec347ce048d2118ee88b487.tar.xz cacert-mgr-f97cb26f07258d26bec347ce048d2118ee88b487.zip |
bug 1391: corrected value check
Diffstat (limited to 'manager')
-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 24b27ed..0cb345e 100644 --- a/manager/application/models/User.php +++ b/manager/application/models/User.php @@ -126,7 +126,7 @@ class Default_Model_User { $row = $this->db->query($query, $query_params)->fetch(); if ($row['total'] === null) $row['total'] = 0; - $this->points += ($row['total'] > 25) ? 50 : $row['total']; + $this->points += ($row['total'] > 25) ? 50 : $row['total'] * 2; } |