1
0
mirror of synced 2025-01-29 19:41:45 +03:00

allow default options to be overridden properly

This commit is contained in:
gnat 2007-11-27 23:19:44 +00:00
parent 20b7487ea0
commit 206002de10

View File

@ -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']);
}
/**