mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
Php warnings corrections
git-svn-id: http://piwigo.org/svn/branches/release-1_3@304 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -150,7 +150,7 @@ else
|
||||
}
|
||||
$vtp->addSession( $sub, 'user' );
|
||||
// checkbox for mail management if the user has a mail address
|
||||
if ( $row['mail_address'] != '' and $row['username'] != 'guest' )
|
||||
if ( isset( $row['mail_address'] ) and $row['username'] != 'guest' )
|
||||
{
|
||||
$vtp->addSession( $sub, 'checkbox' );
|
||||
$vtp->setVar( $sub, 'checkbox.name', 'mail-'.$row['id'] );
|
||||
|
||||
Reference in New Issue
Block a user