mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-21 10:57:08 +08:00
Fixes #6572: Allow panels to stay even if they do not receive any debug data
This commit is contained in:
@ -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
|
|||||||
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'];
|
||||||
|
Reference in New Issue
Block a user