mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Making instance method use the instance, and not call itself statically.
This commit is contained in:
parent
7013a8f1e0
commit
6d5cf96d1c
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ class Debugger {
|
||||||
$data = compact(
|
$data = compact(
|
||||||
'level', 'error', 'code', 'helpID', 'description', 'file', 'path', 'line', 'context'
|
'level', 'error', 'code', 'helpID', 'description', 'file', 'path', 'line', 'context'
|
||||||
);
|
);
|
||||||
echo self::_output($data);
|
echo $_this->_output($data);
|
||||||
|
|
||||||
if (Configure::read('log')) {
|
if (Configure::read('log')) {
|
||||||
$tpl = $_this->_templates['log']['error'];
|
$tpl = $_this->_templates['log']['error'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue