Skip to content

Commit

Permalink
Use string array keys.
Browse files Browse the repository at this point in the history
Remaining fix for Bug: 14025
  • Loading branch information
mrubinsk committed Jun 24, 2015
1 parent 088e8e4 commit faa0b5a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions horde/lib/Application.php
Expand Up @@ -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"))
)
);

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit faa0b5a

Please sign in to comment.