mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-08 12:32:42 +00:00
Fix merge to + operator.
This commit is contained in:
parent
51d8f74c50
commit
3cfc46db38
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
Add a link
Reference in a new issue