summaryrefslogtreecommitdiff
path: root/manager
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2015-07-31 09:12:31 +0200
committerINOPIAE <inopiae@cacert.org>2015-07-31 09:12:31 +0200
commitf97cb26f07258d26bec347ce048d2118ee88b487 (patch)
tree8b9d8215c66c012c55b9cab7a6332db663efe36a /manager
parentbbfbb594549557f794015112dd3845d6b4f704ba (diff)
downloadcacert-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.php2
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;
}