1
0
mirror of synced 2025-01-06 00:57:10 +03:00

Problem on Sluggable Listener default values merging

This commit is contained in:
hartym 2007-12-30 18:44:00 +00:00
parent 7d6e9b29d0
commit 716bcedd76
2 changed files with 8 additions and 8 deletions

View File

@ -53,7 +53,7 @@ class Doctrine_Template_Listener_Sluggable extends Doctrine_Record_Listener
*/ */
public function __construct(array $options) public function __construct(array $options)
{ {
$this->_options = array_merge($options, $this->_options); $this->_options = Doctrine_Lib::arrayDeepMerge($this->_options, $options);
} }
public function preInsert(Doctrine_Event $event) public function preInsert(Doctrine_Event $event)