mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
Fix ambiguous host_id field
This commit is contained in:
parent
884118958e
commit
64d0d8b618
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user