From 99d309feedeb88e83ffaafcddc9d3b41bd24e7b6 Mon Sep 17 00:00:00 2001 From: jwage Date: Wed, 23 Jan 2008 00:06:27 +0000 Subject: [PATCH] fixes #699 --- lib/Doctrine/Template/Listener/Sluggable.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/Doctrine/Template/Listener/Sluggable.php b/lib/Doctrine/Template/Listener/Sluggable.php index db8d9255b..761763207 100644 --- a/lib/Doctrine/Template/Listener/Sluggable.php +++ b/lib/Doctrine/Template/Listener/Sluggable.php @@ -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)