fixed bug with mxids

This commit is contained in:
kremsy
2014-01-12 21:39:27 +01:00
committed by Steffen Schröder
parent a550ed9e0e
commit f7430dfad9
4 changed files with 32 additions and 2 deletions

View File

@ -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);