From cf5c48ecc54650db24f66fef29786d3b72554aab Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 10 Jan 2010 12:48:11 -0500 Subject: [PATCH] Making CakeBaseReporter constructor take null for charset, so its easier to type. --- cake/tests/lib/reporter/cake_base_reporter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cake/tests/lib/reporter/cake_base_reporter.php b/cake/tests/lib/reporter/cake_base_reporter.php index 109bc012a..7a12fd3ae 100644 --- a/cake/tests/lib/reporter/cake_base_reporter.php +++ b/cake/tests/lib/reporter/cake_base_reporter.php @@ -82,6 +82,9 @@ class CakeBaseReporter extends SimpleReporter { */ function CakeBaseReporter($charset = 'utf-8', $params = array()) { $this->SimpleReporter(); + if (!$charset) { + $charset = 'utf-8'; + } $this->_characterSet = $charset; $this->params = $params; }