Aleksander Machniak
2013-03-04 8c93c29d04e5ef3cc81a86ac03708a758071b73c
Really fix "quotum would exceed" error message handling
1 files modified
3 ■■■■ changed files
program/include/rcmail.php 3 ●●●● patch | view | raw | blame | history
program/include/rcmail.php
@@ -1821,7 +1821,8 @@
                $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 {