Fixing constructors for reporter classes.

This commit is contained in:
Mark Story 2010-05-02 17:54:49 -04:00
parent adf604a966
commit dc08aedb44

View file

@ -34,9 +34,9 @@ class CakeHtmlReporter extends CakeBaseReporter {
* @param string $params * @param string $params
* @return void * @return void
*/ */
function CakeHtmlReporter($charset = 'utf-8', $params = array()) { function __construct($charset = 'utf-8', $params = array()) {
$params = array_map(array($this, '_htmlEntities'), $params); $params = array_map(array($this, '_htmlEntities'), $params);
$this->CakeBaseReporter($charset, $params); parent::__construct($charset, $params);
} }
/** /**
* Paints the top of the web page setting the * Paints the top of the web page setting the