mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- bug fix: registered users could rate a picture several times from diffrent ip adresses
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2470 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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.'\'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user