aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index 216355be4..cc43eab95 100644
--- a/picture.php
+++ b/picture.php
@@ -578,7 +578,7 @@ if (is_admin())
}
// favorite manipulation
-if (!$user['is_the_guest'])
+if (!is_a_guest())
{
// verify if the picture is already in the favorite of the user
$query = '