bugfix
This commit is contained in:
parent
19f217c51c
commit
995c820e44
@ -127,9 +127,10 @@ class MapManager implements CallbackListener {
|
|||||||
?, ?, ?, ?, ?, ?
|
?, ?, ?, ?, ?, ?
|
||||||
) ON DUPLICATE KEY UPDATE
|
) ON DUPLICATE KEY UPDATE
|
||||||
`index` = LAST_INSERT_ID(`index`),
|
`index` = LAST_INSERT_ID(`index`),
|
||||||
`fileName` = LAST_INSERT_ID(`fileName`),
|
`fileName` = VALUES(`fileName`),
|
||||||
`environment` = LAST_INSERT_ID(`environment`),
|
`environment` = VALUES(`environment`),
|
||||||
`mapType` = LAST_INSERT_ID(`mapType`);";
|
`mapType` = VALUES(`mapType`);";
|
||||||
|
|
||||||
$mapStatement = $mysqli->prepare($mapQuery);
|
$mapStatement = $mysqli->prepare($mapQuery);
|
||||||
if ($mysqli->error) {
|
if ($mysqli->error) {
|
||||||
trigger_error($mysqli->error);
|
trigger_error($mysqli->error);
|
||||||
|
Loading…
Reference in New Issue
Block a user