Aleksander Machniak
2013-03-04 d3e7f92d88b3ac6d6f190996e36a9ff18c5369d7
Smarter overquota error detection (known error strings are:
"Quota exceeded" and "quotum would exceed") (#1484164)
1 files modified
2 ■■■ changed files
program/include/rcmail.php 2 ●●● patch | view | raw | blame | history
program/include/rcmail.php
@@ -1821,7 +1821,7 @@
                $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 {