From 8c93c29d04e5ef3cc81a86ac03708a758071b73c Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 4 Mar 2013 10:38:03 +0100 Subject: Really fix "quotum would exceed" error message handling --- program/include/rcmail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 192fb9f95..b2d6966d0 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1821,7 +1821,8 @@ class rcmail extends rcube $error = 'errornoperm'; } // try to detect full mailbox problem and display appropriate message - else if (stripos($err_str, 'quota') !== false && stripos($err_str, 'exceed') !== false) { + // there can be e.g. "Quota exceeded" or "quotum would exceed" + else if (stripos($err_str, 'quot') !== false && stripos($err_str, 'exceed') !== false) { $error = 'erroroverquota'; } else { -- cgit v1.2.3