diff --git a/library/Icinga/Web/Navigation/DashboardPane.php b/library/Icinga/Web/Navigation/DashboardPane.php index 3bf6d0992..64d844ab7 100644 --- a/library/Icinga/Web/Navigation/DashboardPane.php +++ b/library/Icinga/Web/Navigation/DashboardPane.php @@ -44,7 +44,9 @@ class DashboardPane extends NavigationItem } if ($ordered) { - ksort($this->dashlets); + $dashlets = $this->dashlets; + ksort($dashlets); + return $dashlets; } return $this->dashlets;