Commit 716bcedd authored by hartym's avatar hartym

Problem on Sluggable Listener default values merging

parent 7d6e9b29
......@@ -53,7 +53,7 @@ class Doctrine_Template_Listener_Sluggable extends Doctrine_Record_Listener
*/
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment