Commit 91f43754 by Qiang Xue

Fixes #6572: Allow panels to stay even if they do not receive any debug data

parent d0972b70
...@@ -5,6 +5,7 @@ Yii Framework 2 debug extension Change Log ...@@ -5,6 +5,7 @@ Yii Framework 2 debug extension Change Log
----------------------- -----------------------
- Bug #4820: Fixed reading incomplete debug index data in case of high request concurrency (martingeorg, samdark) - Bug #4820: Fixed reading incomplete debug index data in case of high request concurrency (martingeorg, samdark)
- Chg #6572: Allow panels to stay even if they do not receive any debug data (qiangxue)
2.0.1 December 07, 2014 2.0.1 December 07, 2014
......
...@@ -152,9 +152,6 @@ class DefaultController extends Controller ...@@ -152,9 +152,6 @@ class DefaultController extends Controller
if (isset($data[$id])) { if (isset($data[$id])) {
$panel->tag = $tag; $panel->tag = $tag;
$panel->load($data[$id]); $panel->load($data[$id]);
} else {
// remove the panel since it has not received any data
unset($this->module->panels[$id]);
} }
} }
$this->summary = $data['summary']; $this->summary = $data['summary'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment