diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_rate.inc.php | 2 |
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.'\''; } |