mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Merge pull request #7296 from cakephp/2.8-cleanup
Fix merge to + operator.
This commit is contained in:
commit
ec48019d8e
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue