diff options
author | Benny Baumann <BenBE@geshi.org> | 2015-08-04 22:12:44 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2015-08-04 22:12:44 +0200 |
commit | 2cbb6d9c9cea8624d474807857ba2f8c81352c15 (patch) | |
tree | 458025116c2f02d9f4a576c8c9459d1373598dc4 /manager | |
parent | 97cfec770519e6f1d18b1d1696abcdcb81c3c86c (diff) | |
parent | f9a2da80b9e9530aa3afb5670aa0fbf56233270c (diff) | |
download | cacert-mgr-2cbb6d9c9cea8624d474807857ba2f8c81352c15.tar.gz cacert-mgr-2cbb6d9c9cea8624d474807857ba2f8c81352c15.tar.xz cacert-mgr-2cbb6d9c9cea8624d474807857ba2f8c81352c15.zip |
Merge branch 'bug-1391'
Diffstat (limited to 'manager')
-rw-r--r-- | manager/application/models/User.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/manager/application/models/User.php b/manager/application/models/User.php index 8f9d3da..7bbe090 100644 --- a/manager/application/models/User.php +++ b/manager/application/models/User.php @@ -126,8 +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'] * 2; - + $this->points += ($row['total'] > 25) ? 50 : 2 * $row['total']; } /** |