Now more friendly error message. Will tomorrow add a german translation.
David
This commit is contained in:
parent
8f78e8dbed
commit
741aab0916
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue