From fa7bd978014ea996ed1da52a38bce80066c76ab6 Mon Sep 17 00:00:00 2001 From: leithoff Date: Fri, 29 Jul 2016 15:50:34 +0200 Subject: [PATCH] apply integer as type to maximum-sync-range in days pref in preferences->activesync->mail --- mail/inc/class.mail_zpush.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_zpush.inc.php b/mail/inc/class.mail_zpush.inc.php index 0a13777083..5cb312c526 100644 --- a/mail/inc/class.mail_zpush.inc.php +++ b/mail/inc/class.mail_zpush.inc.php @@ -176,7 +176,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail, 'admin' => False, ); $settings['mail-maximumSyncRange'] = array( - 'type' => 'input', + 'type' => 'integer', 'label' => lang('How many days to sync in the past when client does not specify a date-range (default %1)', self::PAST_LIMIT), 'name' => 'mail-maximumSyncRange', 'help' => 'if the client sets no sync range, you may override the setting (preventing client crash that may be caused by too many mails/too much data). If you want to sync way-back into the past: set a large number',