Commit 99d309fe authored by jwage's avatar jwage

fixes #699

parent 3e1014af
......@@ -39,11 +39,7 @@ class Doctrine_Template_Listener_Sluggable extends Doctrine_Record_Listener
*
* @var string
*/
protected $_options = array('name' => 'slug',
'type' => 'clob',
'length' => null,
'options' => array(),
'fields' => array());
protected $_options = array();
/**
* __construct
......@@ -53,7 +49,7 @@ class Doctrine_Template_Listener_Sluggable extends Doctrine_Record_Listener
*/
public function __construct(array $options)
{
$this->_options = Doctrine_Lib::arrayDeepMerge($this->_options, $options);
$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