mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Making CakeBaseReporter constructor take null for charset, so its easier to type.
This commit is contained in:
parent
e304246e8f
commit
cf5c48ecc5
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue