getVillageType2 returns an integer containing oasistype, not an array

This commit is contained in:
KFCSpike
2013-12-07 05:41:31 +00:00
parent 73402a437c
commit ecc89dc775
+1 -2
View File
@@ -94,8 +94,7 @@ $vdata = $database->getVillage($towref);
?>
<label for="slot<?php echo $id; ?>">
<?php
$type = $database->getVillageType2($towref);
$oasistype = $type['oasistype'];
$oasistype = $database->getVillageType2($towref);
if($oasistype != 0){
?>
<span class="coordinates coordinatesWithText">