diff --git a/lib/Cake/Utility/CakeTime.php b/lib/Cake/Utility/CakeTime.php index 2cfcaff90..f59d6d6d0 100644 --- a/lib/Cake/Utility/CakeTime.php +++ b/lib/Cake/Utility/CakeTime.php @@ -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;