mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
tables: more getId calls removed
This commit is contained in:
parent
ac0745445e
commit
18ab9b4f7c
@ -82,7 +82,7 @@ class ImportrunTable extends ZfQueryBasedTable
|
|||||||
->order('r.start_time DESC');
|
->order('r.start_time DESC');
|
||||||
|
|
||||||
if ($this->source) {
|
if ($this->source) {
|
||||||
$query->where('r.source_id = ?', $this->source->getId());
|
$query->where('r.source_id = ?', $this->source->get('id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $query;
|
return $query;
|
||||||
|
@ -120,7 +120,7 @@ class PropertymodifierTable extends ZfQueryBasedTable
|
|||||||
return $this->db()->select()->from(
|
return $this->db()->select()->from(
|
||||||
['m' => 'import_row_modifier'],
|
['m' => 'import_row_modifier'],
|
||||||
$this->getColumns()
|
$this->getColumns()
|
||||||
)->where('m.source_id = ?', $this->source->getId())
|
)->where('m.source_id = ?', $this->source->get('id'))
|
||||||
->order('priority');
|
->order('priority');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user