fixed bug with mxids

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:34:57 +02:00
1 parent a550ed9e0e
commit f7430dfad9
4 files changed
+32 -2

No files matched your search

@@ -59,7 +59,7 @@ class ManiaExchangeInfoSearcher { //TODO rename to ManiaExchangeManager
// Save map data
$saveMapQuery = "UPDATE `" . MapManager::TABLE_MAPS . "`
SET `mxid` = ?
WHERE `index` = ?;";
WHERE `uid` = ?;";
$saveMapStatement = $mysqli->prepare($saveMapQuery);
if($mysqli->error) {
trigger_error($mysqli->error);