Making instance method use the instance, and not call itself statically.

This commit is contained in:
mark_story 2010-11-14 19:59:46 -05:00
parent 7013a8f1e0
commit 6d5cf96d1c

View file

@ -295,7 +295,7 @@ class Debugger {
$data = compact(
'level', 'error', 'code', 'helpID', 'description', 'file', 'path', 'line', 'context'
);
echo self::_output($data);
echo $_this->_output($data);
if (Configure::read('log')) {
$tpl = $_this->_templates['log']['error'];