1
0
mirror of synced 2024-12-13 22:56:04 +03:00

- Fixed typo in column declarations.

This commit is contained in:
wolfpakz 2007-11-27 16:45:52 +00:00
parent 80bb1ed071
commit 0ac4d757c7

View File

@ -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));
}
}
}