diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-03-04 10:38:03 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-03-04 10:38:03 +0100 |
commit | 8c93c29d04e5ef3cc81a86ac03708a758071b73c (patch) | |
tree | e2656a61b3062da1caba4ad80ded97ab2c4f6345 /program/include | |
parent | d3e7f92d88b3ac6d6f190996e36a9ff18c5369d7 (diff) |
Really fix "quotum would exceed" error message handling
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |