From d3e7f92d88b3ac6d6f190996e36a9ff18c5369d7 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 4 Mar 2013 09:05:42 +0100 Subject: Smarter overquota error detection (known error strings are: "Quota exceeded" and "quotum would exceed") (#1484164) --- program/include/rcmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 30d1fe84c..192fb9f95 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1821,7 +1821,7 @@ class rcmail extends rcube $error = 'errornoperm'; } // try to detect full mailbox problem and display appropriate message - else if (stripos($err_str, 'Quota exceeded') !== false) { + else if (stripos($err_str, 'quota') !== false && stripos($err_str, 'exceed') !== false) { $error = 'erroroverquota'; } else { -- cgit v1.2.3