fix missing ::Get when using new Settings-class

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-12-16 13:37:28 +01:00
parent 6a8cd15456
commit baac572666

View File

@@ -539,7 +539,7 @@ if ($page == 'admins'
$email_forwarders = -1;
}
if (Settings('system.mail_quota_enabled') == '1') {
if (Settings::Get('system.mail_quota_enabled') == '1') {
$email_quota = validate($_POST['email_quota'], 'email_quota', '/^\d+$/', 'vmailquotawrong', array('0', ''));
if (isset($_POST['email_quota_ul'])) {
$email_quota = -1;