mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-03-13 05:41:02 +00:00
fix updateTime init
This commit is contained in:
parent
317a58cfa2
commit
adc791f378
@ -254,7 +254,7 @@ class MySQL {
|
||||
ON DUPLICATE KEY UPDATE `timeUpdated` = ?,
|
||||
`quantity` = `quantity` + ' . (int) $quantity);
|
||||
|
||||
$query->execute([$hostImageId, $hostPageId, $timeAdded, $timeUpdated, $quantity, $timeUpdated]);
|
||||
$query->execute([$hostImageId, $hostPageId, $timeAdded, null, $quantity, $timeUpdated]);
|
||||
|
||||
return $query->rowCount(); // no primary key
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user