Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-12-12 02:16:09 +01:00
parent f6f6537e25
commit 4fe6532359

View File

@ -160,7 +160,7 @@ if (empty($reshook)) {
}
// Update line with id of stock movement
$sqlupdate = 'UPDATE '.MAIN_DB_PREFIX.'inventorydet SET fk_movement = '.((int) $idstockmove).' WHERE rowid = '.$line->rowid;
$sqlupdate = "UPDATE ".MAIN_DB_PREFIX."inventorydet SET fk_movement = ".((int) $idstockmove)." WHERE rowid = ".((int) $line->rowid);
$resqlupdate = $db->query($sqlupdate);
if (! $resqlupdate) {
$error++;