aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-08-15 19:54:01 +0000
committerrub <rub@piwigo.org>2008-08-15 19:54:01 +0000
commit9824cbbc5f8f07de9c86892afa86f69c1b2e5db3 (patch)
treeb7c19ed75500c292575b6803161bb23084dd7776 /admin
parentce1d7492f62e63b4a30af3e3d4a3076b62bfaff9 (diff)
Resolved issue 0000842: Variable $user is erased on rating page
Merge branch-1_7 2473:2474 into BSF git-svn-id: http://piwigo.org/svn/trunk@2475 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/rating.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/rating.php b/admin/rating.php
index 18557b329..11ed82cb4 100644
--- a/admin/rating.php
+++ b/admin/rating.php
@@ -229,22 +229,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'].')';
}
$tpl_image['rates'][] =
array(
'DATE' => format_date($row['date']),
'RATE' => $row['rate'],
- 'USER' => $user,
+ 'USER' => $user_rate,
'U_DELETE' => $url_del
);
}