Merge pull request #7296 from cakephp/2.8-cleanup

Fix merge to + operator.
This commit is contained in:
Mark Story 2015-08-24 12:15:23 -04:00
commit ec48019d8e

View file

@ -1090,12 +1090,13 @@ class CakeTime {
'group' => $options,
);
}
$options = array_merge(array(
$defaults = array(
'group' => true,
'abbr' => false,
'before' => ' - ',
'after' => null,
), $options);
);
$options += $defaults;
$group = $options['group'];
$regex = null;