Skip to content

Commit 02ef7c7

Browse files
committed
Zones code cleanup
1 parent da76e82 commit 02ef7c7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

zones.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
$cache_key = cache_key($type);
1111

12-
echo $type;
13-
if ($type == 2) {$type2 = 2;}
14-
1512
if(!$zones = load_cache(2, $cache_key))
1613
{
1714

@@ -26,7 +23,7 @@
2623
{LIMIT ?d}
2724
',
2825
isset($type) ? $type : DBSIMPLE_SKIP,
29-
isset($type2) ? $type2 : DBSIMPLE_SKIP,
26+
(isset($type)&&$type==2) ? $type : DBSIMPLE_SKIP,
3027
($AoWoWconf['limit']!=0)? $AoWoWconf['limit']: DBSIMPLE_SKIP
3128
);
3229
$zones = array();

0 commit comments

Comments
 (0)