Skip to content

Commit

Permalink
Fix merge to + operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Aug 24, 2015
1 parent 51d8f74 commit 3cfc46d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Cake/Utility/CakeTime.php
Expand Up @@ -1090,12 +1090,13 @@ public static function listTimezones($filter = null, $country = null, $options =
'group' => $options,
);
}
$options = array_merge(array(
$defaults = array(
'group' => true,
'abbr' => false,
'before' => ' - ',
'after' => null,
), $options);
);
$options += $defaults;
$group = $options['group'];

$regex = null;
Expand Down

0 comments on commit 3cfc46d

Please sign in to comment.