Fixed: FS#850 - Unlimitred mailbox quota when value = 0
| | |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'ISINT', |
| | | 'errmsg'=> 'quota_error_isint'), |
| | | 1 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^(-1)|([1-9][0-9]*)$/', |
| | | 'errmsg'=> 'quota_error_value'), |
| | | ), |
| | | 'default' => '0', |
| | | 'value' => '', |
| | |
| | | $wb["disableimap_txt"] = 'Disable IMAP'; |
| | | $wb["disablepop3_txt"] = 'Disable POP3'; |
| | | $wb["duplicate_alias_or_forward_txt"] = 'There is already an alias or forwrd with this email address.'; |
| | | $wb["quota_error_value"] = 'Invalid quota value. Allowed values are: -1 for unlimited or numbers > 1'; |
| | | ?> |