Import: one more protection against braindead "AI"

This commit is contained in:
Thomas Gelf 2016-03-16 11:52:47 +01:00
parent 358590024c
commit 5b8dcc44db

View File

@ -422,10 +422,10 @@ class Import
$query = $db $query = $db
->select() ->select()
->from( ->from(
$table, array('c' => $table),
array('checksum' => $conn->dbHexFunc('checksum')) array('checksum' => $conn->dbHexFunc('c.checksum'))
)->where( )->where(
$conn->dbHexFunc('checksum') . ' IN (?)', $conn->dbHexFunc('c.checksum') . ' IN (?)',
$hexed $hexed
); );