Db: workaround for ZF super intelligent aliasing
This commit is contained in:
parent
96e6a15655
commit
d7b0b18cdf
|
@ -467,7 +467,7 @@ class Db extends DbConnection
|
||||||
}
|
}
|
||||||
|
|
||||||
$db = $this->db();
|
$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)) {
|
if (is_int($source) || ctype_digit($source)) {
|
||||||
$lastRun->where('source_id = ?', (int) $source);
|
$lastRun->where('source_id = ?', (int) $source);
|
||||||
|
|
Loading…
Reference in New Issue