From faa0b5a7b431e2c282f5aa667cd033711ff631cf Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Wed, 24 Jun 2015 12:31:54 -0400 Subject: [PATCH] Use string array keys. Remaining fix for Bug: 14025 --- horde/lib/Application.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/horde/lib/Application.php b/horde/lib/Application.php index 2a2c6098147..119f84d8ba6 100644 --- a/horde/lib/Application.php +++ b/horde/lib/Application.php @@ -242,10 +242,10 @@ protected function _addActiveSyncPerms(&$permissions) 'title' => _("Password Complexity"), 'type' => 'enum', 'params' => array(array( - false => '', - 0 => _("Allow only numeric"), - 1 => _("Allow alphanumeric"), - 2 => _("Allow any")) + '' => '', + '0' => _("Allow only numeric"), + '1' => _("Allow alphanumeric"), + '2' => _("Allow any")) ) ); @@ -331,13 +331,13 @@ protected function _addActiveSyncPerms(&$permissions) 'title' => _("Maximum Email age"), 'type' => 'enum', 'params' => array(array( - false => '', - 0 => _("Sync all"), - 1 => _("1 Day"), - 2 => _("3 Days"), - 3 => _("1 Week"), - 4 => _("2 Weeks"), - 5 => _("1 Month")) + '' => '', + '0' => _("Sync all"), + '1' => _("1 Day"), + '2' => _("3 Days"), + '3' => _("1 Week"), + '4' => _("2 Weeks"), + '5' => _("1 Month")) ) ); $permissions[$prefix . Horde_ActiveSync_Policies::POLICY_ROAMING_NOPUSH] = array(