Reply to thread

[USER=11388]@Chris D[/USER] I've reproduced this:




XF\Db\AbstractAdapter::insert doesn't quote with backticks the table name.


[php]

$res = $this->query(

   "$keyword $modifier INTO $table (" . implode(', ', $cols) . ') VALUES '

   . '(' . implode(', ', $sqlValues) . ')'

   . ($onDupe ? " ON DUPLICATE KEY UPDATE $onDupe" : ''),

   $bind

);

[/php]


This applies to insertBulk/delete/update methods as well


Back
Top Bottom