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
This commit is contained in:
z0rglub
2004-10-07 21:43:12 +00:00
parent f0b805cf10
commit 3015047a08
+2 -1
View File
@@ -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";
}
?>
?>