Don't send the X-Icinga-Module header more than once

fixes #9349
This commit is contained in:
Eric Lippmann 2015-07-30 09:28:05 +02:00
parent 20aa17c831
commit 9f0e48a0a1
1 changed files with 1 additions and 1 deletions

View File

@ -77,6 +77,6 @@ class ModuleActionController extends ActionController
public function postDispatchXhr()
{
parent::postDispatchXhr();
$this->getResponse()->setHeader('X-Icinga-Module', $this->moduleName);
$this->getResponse()->setHeader('X-Icinga-Module', $this->moduleName, true);
}
}