tables: more getId calls removed

This commit is contained in:
Thomas Gelf 2018-10-04 06:56:28 +02:00
parent ac0745445e
commit 18ab9b4f7c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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');
}
}