From dc08aedb44ae4dc379dc490c6f44bb0094ed6f5f Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 2 May 2010 17:54:49 -0400 Subject: [PATCH] Fixing constructors for reporter classes. --- cake/tests/lib/reporter/cake_html_reporter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/lib/reporter/cake_html_reporter.php b/cake/tests/lib/reporter/cake_html_reporter.php index c1228d227..5e1785702 100755 --- a/cake/tests/lib/reporter/cake_html_reporter.php +++ b/cake/tests/lib/reporter/cake_html_reporter.php @@ -34,9 +34,9 @@ class CakeHtmlReporter extends CakeBaseReporter { * @param string $params * @return void */ - function CakeHtmlReporter($charset = 'utf-8', $params = array()) { + function __construct($charset = 'utf-8', $params = array()) { $params = array_map(array($this, '_htmlEntities'), $params); - $this->CakeBaseReporter($charset, $params); + parent::__construct($charset, $params); } /** * Paints the top of the web page setting the