aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-08-11 11:25:07 +0000
committerrvelices <rv-github@modusoptimus.com>2008-08-11 11:25:07 +0000
commit5d407384638b33be92cf77c01a82842cf205520c (patch)
treeb67445e758df5a52435579b2e9e9f51dfe58b8ff
parentd4a7be644b24729dd76067bef3f059d55fd5239a (diff)
git-svn-id: http://piwigo.org/svn/trunk@2471 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_rate.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_rate.inc.php b/include/functions_rate.inc.php
index 9bf97cbdb..10bcfba2a 100644
--- a/include/functions_rate.inc.php
+++ b/include/functions_rate.inc.php
@@ -97,7 +97,7 @@ DELETE
WHERE element_id = '.$image_id.'
AND user_id = '.$user['id'].'
';
- if (isset($user_anonymous))
+ if ($user_anonymous)
{
$query.= ' AND anonymous_id = \''.$anonymous_id.'\'';
}