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');
|
||||
|
||||
if ($this->source) {
|
||||
$query->where('r.source_id = ?', $this->source->getId());
|
||||
$query->where('r.source_id = ?', $this->source->get('id'));
|
||||
}
|
||||
|
||||
return $query;
|
||||
|
|
|
@ -120,7 +120,7 @@ class PropertymodifierTable extends ZfQueryBasedTable
|
|||
return $this->db()->select()->from(
|
||||
['m' => 'import_row_modifier'],
|
||||
$this->getColumns()
|
||||
)->where('m.source_id = ?', $this->source->getId())
|
||||
)->where('m.source_id = ?', $this->source->get('id'))
|
||||
->order('priority');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue