mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
Minor corrections of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@276 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -207,12 +207,14 @@ function check_login_authorization()
|
||||
{
|
||||
global $user,$lang,$conf,$page;
|
||||
|
||||
if ( $user['is_the_guest']
|
||||
and ( $conf['access'] == 'restricted' or $page['cat'] == 'fav' ) )
|
||||
if ( $user['is_the_guest'])
|
||||
{
|
||||
if ( $conf['access'] == 'restricted' || (isset($page['cat']) && $page['cat'] == 'fav' ) )
|
||||
{
|
||||
echo '<div style="text-align:center;">'.$lang['only_members'].'<br />';
|
||||
echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>';
|
||||
exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user