mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-20 18:32:59 +08:00
Fixes #6572: Allow panels to stay even if they do not receive any debug data
This commit is contained in:
@ -152,9 +152,6 @@ class DefaultController extends Controller
|
||||
if (isset($data[$id])) {
|
||||
$panel->tag = $tag;
|
||||
$panel->load($data[$id]);
|
||||
} else {
|
||||
// remove the panel since it has not received any data
|
||||
unset($this->module->panels[$id]);
|
||||
}
|
||||
}
|
||||
$this->summary = $data['summary'];
|
||||
|
Reference in New Issue
Block a user