Problem on Sluggable Listener default values merging
This commit is contained in:
parent
7d6e9b29d0
commit
716bcedd76
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user