Commit 206002de authored by gnat's avatar gnat

allow default options to be overridden properly

parent 20b7487e
......@@ -58,7 +58,8 @@ class Doctrine_Template_Timestampable extends Doctrine_Template
*/
public function __construct(array $options)
{
$this->_options = array_merge($options, $this->_options);
$this->_options['created'] = array_merge($this->_options['created'], $options['created']);
$this->_options['updated'] = array_merge($this->_options['updated'], $options['updated']);
}
/**
......
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