if(($maximagesize) && ($filesize > $maximagesize)) {
notice( t('Image exceeds size limit of ') . $maximagesize . EOL);
@unlink($src);
- call_hooks('photo_post_end',0);
+ $foo = 0;
+ call_hooks('photo_post_end',$foo);
return;
}
logger('mod/photos.php: photos_post(): unable to process image' , 'LOGGER_DEBUG');
notice( t('Unable to process image.') . EOL );
@unlink($src);
- call_hooks('photo_post_end',0);
+ $foo = 0;
+ call_hooks('photo_post_end',$foo);
killme();
}