From 75e0086a49979dec43d56507b76e2ec2fe360ade Mon Sep 17 00:00:00 2001 From: Shadow Date: Wed, 27 Nov 2013 11:25:29 +0200 Subject: [PATCH] Update 27_1.tpl --- Templates/Build/27_1.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Templates/Build/27_1.tpl b/Templates/Build/27_1.tpl index e8c675fe..0cc8834c 100644 --- a/Templates/Build/27_1.tpl +++ b/Templates/Build/27_1.tpl @@ -1,7 +1,6 @@ getOwnArtefactInfo2($village->wid); - $result = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "artefacts WHERE vref = " . $village->wid . "")); + $artefact1 = $database->getOwnArtefactInfo3($session->uid); $wref = $village->wid; $coor = $database->getCoor($wref); function getDistance($coorx1, $coory1, $coorx2, $coory2) {