mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
fix for empty var in debugger
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6396 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
39eb8a9218
commit
70ebd40cdd
1 changed files with 5 additions and 3 deletions
|
@ -493,9 +493,11 @@ class Debugger extends Object {
|
|||
e("</pre>");
|
||||
}
|
||||
|
||||
if (!empty($listing)) {
|
||||
e("<div id=\"CakeErrorCode" . count($_this->errors) . "\" class=\"cake-code-dump\" style=\"display: none;\">");
|
||||
pr(implode("\n", $listing) . "\n", false);
|
||||
e('</div>');
|
||||
}
|
||||
pr($trace, false);
|
||||
e('</div>');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue