diff --git a/application/core/Admin/ActionsMenu.php b/application/core/Admin/ActionsMenu.php index 96e88945..88d67006 100644 --- a/application/core/Admin/ActionsMenu.php +++ b/application/core/Admin/ActionsMenu.php @@ -179,7 +179,6 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener { } $manialink = new ManiaLink(self::MLID_MENU); - $script = $manialink->getScript(); /* * Admin Menu diff --git a/application/core/Files/BackupUtil.php b/application/core/Files/BackupUtil.php index b53f2234..f4f2ec4a 100644 --- a/application/core/Files/BackupUtil.php +++ b/application/core/Files/BackupUtil.php @@ -1,6 +1,7 @@ addFeature($paging); - $pagesId = 'MxListPages'; - // Main frame $frame = $this->maniaControl->manialinkManager->styleManager->getDefaultListFrame($script, $paging); $maniaLink->add($frame); diff --git a/application/core/ManiaExchange/ManiaExchangeManager.php b/application/core/ManiaExchange/ManiaExchangeManager.php index 3424f76d..d0fbbead 100644 --- a/application/core/ManiaExchange/ManiaExchangeManager.php +++ b/application/core/ManiaExchange/ManiaExchangeManager.php @@ -84,7 +84,7 @@ class ManiaExchangeManager { trigger_error($saveMapStatement->error); } - //Take the uid out of the vektor + //Take the uid out of the vector if (isset($this->mxIdUidVector[$mxMapInfo->id])) { $uid = $this->mxIdUidVector[$mxMapInfo->id]; } else { diff --git a/application/core/Maps/MapList.php b/application/core/Maps/MapList.php index 608e40f7..c364691b 100644 --- a/application/core/Maps/MapList.php +++ b/application/core/Maps/MapList.php @@ -121,7 +121,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener { $queueBuffer = $this->maniaControl->mapManager->mapQueue->getQueueBuffer(); // Get Maps - $mapList = array(); + $mapList = null; $pageCount = null; if (is_array($maps)) { $mapList = array_slice($maps, $chunk, self::MAX_PAGES_PER_CHUNK * self::MAX_MAPS_PER_PAGE);