summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-08-04 22:11:49 +0200
committerBenny Baumann <BenBE@geshi.org>2015-08-04 22:12:24 +0200
commitf9a2da80b9e9530aa3afb5670aa0fbf56233270c (patch)
treec3f51c33b2585fafe044849d77e3d88e4cacc1fa
parente33a8de01c1548d155bf08d362de241906ef16c3 (diff)
downloadcacert-mgr-bug-1391.tar.gz
cacert-mgr-bug-1391.tar.xz
cacert-mgr-bug-1391.zip
bug 1391: Codestyle cleanupbug-1391
-rw-r--r--manager/application/models/User.php3
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'];
}
/**