mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +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 = $this->params->get('host')
|
||||||
) {
|
) {
|
||||||
$host = IcingaHost::load($host, $this->db());
|
$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') {
|
if ($request->getActionName() === 'templates') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user