From ee8227a3cebad5440ba023fd235f87644cb2f2d3 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Thu, 29 Jan 2004 21:18:53 +0000 Subject: Php Warning correction git-svn-id: http://piwigo.org/svn/branches/release-1_3@328 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/user_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') diff --git a/admin/user_list.php b/admin/user_list.php index 2f20a2795..4a5588743 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -230,7 +230,7 @@ else $result = mysql_query( $query ); while ( $row = mysql_fetch_array( $result ) ) { - if ( $_POST['mail-'.$row['id']] == 1 ) + if ( isset( $_POST['mail-'.$row['id']] ) ) array_push( $mails, $row['mail_address'] ); } $mail_destination = ''; -- cgit v1.2.3