From 3015047a082dec0e426f6fd22a085d8e4ad2e5bf Mon Sep 17 00:00:00 2001 From: z0rglub Date: Thu, 7 Oct 2004 21:43:12 +0000 Subject: bug 57 : undefined variable isadmin when notifying upload git-svn-id: http://piwigo.org/svn/branches/release-1_3@559 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/functions.inc.php b/include/functions.inc.php index 2a3a795c8..58cc0951f 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -400,6 +400,7 @@ function notify( $type, $infos = '' ) while ( $row = mysql_fetch_array( $result ) ) { $to = $row['mail_address']; + $isadmin = false; include( PREFIX_INCLUDE.'./language/'.$row['language'].'.php' ); $content = $lang['mail_hello']."\n\n"; switch ( $type ) @@ -464,4 +465,4 @@ function pwg_debug( $string ) $debug.= $count_queries.' queries] : '.$string; $debug.= "\n"; } -?> \ No newline at end of file +?> -- cgit v1.2.3