Fix merge to + operator.

This commit is contained in:
Mark Scherer 2015-08-24 06:33:04 +02:00
parent 51d8f74c50
commit 3cfc46db38

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;