diff options
author | rub <rub@piwigo.org> | 2008-08-15 19:50:22 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-08-15 19:50:22 +0000 |
commit | f645fc14190614fe6b86b509b8f5a3b0a68ad90e (patch) | |
tree | ba19cf5fb6259b58962d187f59cf4c96d3409a9f /admin/rating.php | |
parent | a2e98299d793ed721fee6a2df170d205233fb9c3 (diff) |
Resolved issue 0000842: Variable $user is erased on rating page
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2474 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/rating.php')
-rw-r--r-- | admin/rating.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/rating.php b/admin/rating.php index d9cb4eef6..39b42a247 100644 --- a/admin/rating.php +++ b/admin/rating.php @@ -259,22 +259,22 @@ ORDER BY date DESC;'; if ( isset($users[$row['user_id']]) ) { - $user = $users[$row['user_id']]; + $user_rate = $users[$row['user_id']]; } else { - $user = '? '. $row['user_id']; + $user_rate = '? '. $row['user_id']; } if ( strlen($row['anonymous_id'])>0 ) { - $user .= '('.$row['anonymous_id'].')'; + $user_rate .= '('.$row['anonymous_id'].')'; } $template->assign_block_vars('image.rate', array( 'DATE' => format_date($row['date']), 'RATE' => $row['rate'], - 'USER' => $user, + 'USER' => $user_rate, 'U_DELETE' => $url_del ) ); |