mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
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();
|
||||
$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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user