aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_rate.inc.php
diff options
context:
space:
mode:
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 4d7f756b7..181624d3e 100644
--- a/include/functions_rate.inc.php
+++ b/include/functions_rate.inc.php
@@ -116,7 +116,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.'\'';
}