From 64d0d8b6184410c9166fd5abbca253cfa45e77c8 Mon Sep 17 00:00:00 2001 From: Gino Date: Mon, 27 May 2019 12:04:02 +0200 Subject: [PATCH] Fix ambiguous host_id field --- library/Director/Web/Controller/ObjectsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Web/Controller/ObjectsController.php b/library/Director/Web/Controller/ObjectsController.php index ec868a82..faf63ea8 100644 --- a/library/Director/Web/Controller/ObjectsController.php +++ b/library/Director/Web/Controller/ObjectsController.php @@ -69,7 +69,7 @@ abstract class ObjectsController extends ActionController && $host = $this->params->get('host') ) { $host = IcingaHost::load($host, $this->db()); - $table->getQuery()->where('host_id = ?', $host->get('id')); + $table->getQuery()->where('o.host_id = ?', $host->get('id')); } if ($request->getActionName() === 'templates') {