mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-02 11:32:52 +02:00
- 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:
@@ -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'])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user