aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-01-19 22:33:26 +0000
committerz0rglub <z0rglub@piwigo.org>2004-01-19 22:33:26 +0000
commite8f465a67a13ab6e8b662302c3910e94306d2b5f (patch)
tree915ec2e826c1e41203670acf32bf2ee040a45b04 /admin/user_list.php
parentff1fbe962e5b47f24eadc249cef1380235773375 (diff)
Php warnings corrections
git-svn-id: http://piwigo.org/svn/branches/release-1_3@304 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/user_list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/user_list.php b/admin/user_list.php
index 2fbf3ccc4..f759365b0 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -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'] );