aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/picture.php b/picture.php
index ba16916f3..7028da435 100644
--- a/picture.php
+++ b/picture.php
@@ -896,7 +896,7 @@ if ( isset( $_GET['slideshow'] ) )
}
//------------------------------------------------------------------- rate form
-if ($conf['rate'])
+if ($conf['rate'] and !$user['is_the_guest'])
{
$query = '
SELECT rate
@@ -946,7 +946,6 @@ SELECT rate
));
}
}
-
//---------------------------------------------------- users's comments display
if ($page['show_comments'])
{