]> git.mxchange.org Git - friendica.git/commitdiff
Now more friendly error message. Will tomorrow add a german translation.
authorDavid <david@hpdv9700>
Fri, 25 Apr 2014 04:29:03 +0000 (06:29 +0200)
committerDavid <david@hpdv9700>
Fri, 25 Apr 2014 04:29:03 +0000 (06:29 +0200)
David

mod/wall_attach.php

index ad391856f0bab502cf77d3bcb8d8e1dcb6f7faf4..646a776a4ab6d73e7c6aeea3fb1728fc684fae10 100644 (file)
@@ -72,7 +72,7 @@ function wall_attach_post(&$a) {
         */
 
        if($filesize <=0) {
-               notice(t('$filesize <= 0; upload refused') . EOL);
+               notice(t('Sorry, maybe your upload is bigger than the PHP configuration allows') . EOL .(t('Or - did you try to upload an empty file?')) . EOL);
                @unlink($src);
                killme();
        }