mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -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";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user