From 741aab091601ce268df44bb32b87cd9a81804192 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 25 Apr 2014 06:29:03 +0200 Subject: [PATCH] Now more friendly error message. Will tomorrow add a german translation. David --- mod/wall_attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/wall_attach.php b/mod/wall_attach.php index ad391856f0..646a776a4a 100644 --- a/mod/wall_attach.php +++ b/mod/wall_attach.php @@ -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(); } -- 2.39.5