aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-10-07 21:43:12 +0000
committerz0rglub <z0rglub@piwigo.org>2004-10-07 21:43:12 +0000
commit3015047a082dec0e426f6fd22a085d8e4ad2e5bf (patch)
tree9f4f3ed6bc53f8792c46328a5aac56f857d65dcf
parentf0b805cf10678bd51882dbf2558d046bf023e566 (diff)
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
-rw-r--r--include/functions.inc.php3
1 files changed, 2 insertions, 1 deletions
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
+?>