Tabs: Do not create a new instance of Url when rendering the refresh url

We're shifting parameters and by creating a new instance we'll lose
such changes.

refs #8758
This commit is contained in:
Johannes Meyer 2015-07-16 11:27:31 +02:00
parent 549f36f82c
commit 2164bb86c8

View File

@ -309,7 +309,7 @@ EOT;
private function renderRefreshTab() private function renderRefreshTab()
{ {
$url = Url::fromRequest()->without('renderLayout'); $url = Icinga::app()->getFrontController()->getRequest()->getUrl();
$tab = $this->get($this->getActiveName()); $tab = $this->get($this->getActiveName());
if ($tab !== null) { if ($tab !== null) {