mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Update a2b.php
This commit is contained in:
@@ -153,7 +153,8 @@ if(isset($_GET['o'])) {
|
||||
} else
|
||||
if(isset($r)) {
|
||||
$enforce = $database->getEnforceArray($r, 0);
|
||||
if($enforce['from'] == $village->wid) {
|
||||
$enforceoasis=$database->getOasisEnforceArray($r, 0);
|
||||
if($enforce['from'] == $village->wid || $enforceoasis['conqured']==$village->wid) {
|
||||
$to = $database->getVillage($enforce['from']);
|
||||
$ckey = $r;
|
||||
include ("Templates/a2b/sendback_" . $database->getUserField($to['owner'], 'tribe', 0) . ".tpl");
|
||||
@@ -276,4 +277,4 @@ include("Templates/links.tpl");
|
||||
</div>
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user