diff options
author | Benny Baumann <BenBE@geshi.org> | 2015-08-04 22:11:49 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2015-08-04 22:12:24 +0200 |
commit | f9a2da80b9e9530aa3afb5670aa0fbf56233270c (patch) | |
tree | c3f51c33b2585fafe044849d77e3d88e4cacc1fa | |
parent | e33a8de01c1548d155bf08d362de241906ef16c3 (diff) | |
download | cacert-mgr-f9a2da80b9e9530aa3afb5670aa0fbf56233270c.tar.gz cacert-mgr-f9a2da80b9e9530aa3afb5670aa0fbf56233270c.tar.xz cacert-mgr-f9a2da80b9e9530aa3afb5670aa0fbf56233270c.zip |
bug 1391: Codestyle cleanupbug-1391
-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']; } /** |