mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-24 10:27:46 +02:00
DashboardSettings: Don't manually cast url to string
Otherwise, the passed url params won't be decoded correctly
This commit is contained in:
parent
e8741c961f
commit
79dd4f37ff
@ -37,7 +37,7 @@ class DashboardSettings implements Tabextension
|
|||||||
$url = Url::fromPath(Dashboard::BASE_ROUTE . '/settings')->addParams($this->urlParams);
|
$url = Url::fromPath(Dashboard::BASE_ROUTE . '/settings')->addParams($this->urlParams);
|
||||||
$tabs->add('dashboard_settings', [
|
$tabs->add('dashboard_settings', [
|
||||||
'icon' => 'service',
|
'icon' => 'service',
|
||||||
'url' => (string) $url,
|
'url' => $url,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user