bug 1391: corrected value check

bug-1391
INOPIAE 9 years ago
parent bbfbb59454
commit f97cb26f07

@ -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;
}

Loading…
Cancel
Save