Db: workaround for ZF super intelligent aliasing

This commit is contained in:
Thomas Gelf 2016-03-15 17:41:52 +01:00
parent 96e6a15655
commit d7b0b18cdf
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ class Db extends DbConnection
}
$db = $this->db();
$lastRun = $db->select()->from('import_run', array($col));
$lastRun = $db->select()->from('import_run', array('last_checksum' => $col));
if (is_int($source) || ctype_digit($source)) {
$lastRun->where('source_id = ?', (int) $source);