From d6af5d96289d363177d034dca3ea9e55ea55139d Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 13 Feb 2005 10:19:58 +0000 Subject: - no rate form for guest (not connected) git-svn-id: http://piwigo.org/svn/trunk@734 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 3 +-- 1 file changed, 1 insertion(+), 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']) { -- cgit v1.2.3