From 178a67e1807093a550c7799ff02a6804b6bc7545 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Thu, 20 Apr 2017 01:08:09 +0200 Subject: [PATCH] Zones/Misc * fix allowed categories on ListPage * fix instances for zone 3523 --- pages/zones.php | 2 +- setup/tools/sqlgen/zones.func.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/zones.php b/pages/zones.php index 9f69e354..5ceba164 100644 --- a/pages/zones.php +++ b/pages/zones.php @@ -15,7 +15,7 @@ class ZonesPage extends GenericPage protected $path = [0, 6]; protected $tabId = 0; protected $mode = CACHE_TYPE_PAGE; - protected $validCats = [true, true, [0, 1, 2], [0, 1, 2], true, true, true, true, true]; + protected $validCats = [true, true, [0, 1, 2], [0, 1, 2], false, false, true, false, true, true, true]; protected $js = ['ShowOnMap.js']; public function __construct($pageCall, $pageParam) diff --git a/setup/tools/sqlgen/zones.func.php b/setup/tools/sqlgen/zones.func.php index f5079ee6..2d5dde11 100644 --- a/setup/tools/sqlgen/zones.func.php +++ b/setup/tools/sqlgen/zones.func.php @@ -24,7 +24,7 @@ $customData = array( 3849 => ['parentAreaId' => 3523, 'parentX' => 70.5, 'parentY' => 69.6], 3847 => ['parentAreaId' => 3523, 'parentX' => 71.7, 'parentY' => 55.1], 3848 => ['parentAreaId' => 3523, 'parentX' => 74.3, 'parentY' => 57.8], - 3456 => ['parentAreaId' => 3523, 'parentX' => 73.5, 'parentY' => 63.7] + 3845 => ['parentAreaId' => 3523, 'parentX' => 73.5, 'parentY' => 63.7] ); $reqDBC = ['worldmaptransforms', 'worldmaparea', 'map', 'mapdifficulty', 'areatable', 'lfgdungeons', 'battlemasterlist'];