From f9a2da80b9e9530aa3afb5670aa0fbf56233270c Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Tue, 4 Aug 2015 22:11:49 +0200 Subject: [PATCH] bug 1391: Codestyle cleanup --- manager/application/models/User.php | 3 +-- 1 file changed, 1 insertion(+), 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']; } /**