mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Merge pull request #3026 from jrgensen/master
Fix php fatal error on monitoring/health/info when asking for json
This commit is contained in:
commit
905ea06f53
@ -60,7 +60,7 @@ class Controller extends IcingaWebController
|
||||
'Content-Disposition',
|
||||
'inline; filename=' . $this->getRequest()->getActionName() . '.json'
|
||||
)
|
||||
->appendBody(Json::encode($query->getQuery()->fetchAll()))
|
||||
->appendBody(Json::encode($query->fetchAll()))
|
||||
->sendResponse();
|
||||
exit;
|
||||
case 'csv':
|
||||
|
Loading…
x
Reference in New Issue
Block a user