]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Small tweak to a copule of translatable strings
[friendica.git] / mod / photos.php
index 17dbf00b6a001b80b3465d52d7236171da1d1f10..89fef2ee8652f26d432c9867c9c14743de1daf0b 100644 (file)
@@ -562,7 +562,8 @@ foreach($_FILES AS $key => $val) {
        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;
        }
 
@@ -575,7 +576,8 @@ foreach($_FILES AS $key => $val) {
                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();
        }