From 0ac4d757c7a547b2a82705e4461482dbe262643a Mon Sep 17 00:00:00 2001 From: wolfpakz Date: Tue, 27 Nov 2007 16:45:52 +0000 Subject: [PATCH] - Fixed typo in column declarations. --- lib/Doctrine/Template/Timestampable.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/Template/Timestampable.php b/lib/Doctrine/Template/Timestampable.php index 8d96329f4..2c1397852 100644 --- a/lib/Doctrine/Template/Timestampable.php +++ b/lib/Doctrine/Template/Timestampable.php @@ -66,9 +66,9 @@ class Doctrine_Template_Timestampable extends Doctrine_Template */ public function setTableDefinition() { - $this->hasColumn($this->_options['created']['name'], $this->_options['created']['type'], null, $this->_options['created']['name']); - $this->hasColumn($this->_options['updated']['name'], $this->_options['updated']['type'], null, $this->_options['updated']['name']); + $this->hasColumn($this->_options['created']['name'], $this->_options['created']['type'], null, $this->_options['created']['options']); + $this->hasColumn($this->_options['updated']['name'], $this->_options['updated']['type'], null, $this->_options['updated']['options']); $this->addListener(new Doctrine_Template_Listener_Timestampable($this->_options)); } -} \ No newline at end of file +}