- no rate form for guest (not connected)

git-svn-id: http://piwigo.org/svn/trunk@734 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-02-13 10:19:58 +00:00
parent 70478add18
commit d6af5d9628

View File

@@ -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'])
{