This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:12 +02:00
1 parent 19f217c51c
commit 995c820e44
1 file changed
+4 -3
+4 -3
View File
@@ -127,9 +127,10 @@ class MapManager implements CallbackListener {
?, ?, ?, ?, ?, ?
) ON DUPLICATE KEY UPDATE
`index` = LAST_INSERT_ID(`index`),
`fileName` = LAST_INSERT_ID(`fileName`),
`environment` = LAST_INSERT_ID(`environment`),
`mapType` = LAST_INSERT_ID(`mapType`);";
`fileName` = VALUES(`fileName`),
`environment` = VALUES(`environment`),
`mapType` = VALUES(`mapType`);";
$mapStatement = $mysqli->prepare($mapQuery);
if ($mysqli->error) {
trigger_error($mysqli->error);