diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-03-04 09:05:42 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-03-04 09:05:42 +0100 |
commit | d3e7f92d88b3ac6d6f190996e36a9ff18c5369d7 (patch) | |
tree | 1e2ef6e05b0a9046378ab9cbf46e74606c91d9f5 /program/include | |
parent | e7c1aad83208b343634a1b857b53474c97a74f61 (diff) |
Smarter overquota error detection (known error strings are:
"Quota exceeded" and "quotum would exceed") (#1484164)
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |