mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-17 16:51:00 +00:00
getVillageType2 returns an integer containing oasistype, not an array
This commit is contained in:
@@ -94,8 +94,7 @@ $vdata = $database->getVillage($towref);
|
|||||||
?>
|
?>
|
||||||
<label for="slot<?php echo $id; ?>">
|
<label for="slot<?php echo $id; ?>">
|
||||||
<?php
|
<?php
|
||||||
$type = $database->getVillageType2($towref);
|
$oasistype = $database->getVillageType2($towref);
|
||||||
$oasistype = $type['oasistype'];
|
|
||||||
if($oasistype != 0){
|
if($oasistype != 0){
|
||||||
?>
|
?>
|
||||||
<span class="coordinates coordinatesWithText">
|
<span class="coordinates coordinatesWithText">
|
||||||
|
|||||||
Reference in New Issue
Block a user