mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
Pane: Don't break the foreach prematurely when managing dashlets from multiple modules
This commit is contained in:
parent
61cd09ab42
commit
77e759fe8e
@ -177,10 +177,7 @@ class Pane extends BaseDashboard implements Sortable
|
|||||||
foreach ($dashlets as $dashlet) {
|
foreach ($dashlets as $dashlet) {
|
||||||
if (is_array($dashlet)) {
|
if (is_array($dashlet)) {
|
||||||
$this->manageEntry($dashlet, $origin);
|
$this->manageEntry($dashlet, $origin);
|
||||||
}
|
continue;
|
||||||
|
|
||||||
if (! $dashlet instanceof Dashlet) {
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$url = $dashlet->getUrl();
|
$url = $dashlet->getUrl();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user