1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Closes Issue #319

This commit is contained in:
SecretR
2013-05-24 22:40:10 +03:00
parent f7f3dd65f3
commit 06a2ea8fa0
9 changed files with 18 additions and 18 deletions

View File

@@ -307,7 +307,7 @@ class rater {
$qry = ($type == 'up') ? "rate_up = {$totalUp} " : "rate_down = {$totalDown}";
$qry .= ", rate_voters = '{$newvoters}', rate_votes = {$totalVotes} ";
$qry .= " WHERE rate_table = '{$table}' AND rate_itemid = '{$itemid}' LIMIT 1";
$qry .= " WHERE rate_table = '{$table}' AND rate_itemid = '{$itemid}'";
if($sql->db_Update("rate",$qry))
{