Merge branch 'bug-1391'
This commit is contained in:
commit
2cbb6d9c9c
1 changed files with 1 additions and 2 deletions
|
@ -126,8 +126,7 @@ class Default_Model_User {
|
||||||
$row = $this->db->query($query, $query_params)->fetch();
|
$row = $this->db->query($query, $query_params)->fetch();
|
||||||
if ($row['total'] === null) $row['total'] = 0;
|
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'];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue