General building

+Starting a building would be nonsense, if the server has already been
finished
This commit is contained in:
iopietro
2018-06-11 16:06:40 +02:00
parent 048b0d9589
commit b7f8eade34
+1 -2
View File
@@ -23,7 +23,7 @@ $start_timer = $generator->pageLoadTimeStart();
use App\Utils\AccessLogger;
if (!function_exists('mysqli_result')) {
function mysqli_result($res, $row, $field=0) {
function mysqli_result($res, $row, $field = 0) {
$res->data_seek($row);
$datarow = $res->fetch_array();
return $datarow[$field];
@@ -38,7 +38,6 @@ if(isset($_GET['newdid'])) {
header("Location: ".$_SERVER['PHP_SELF']);
exit;
}
else $building->procBuild($_GET);
$sql = mysqli_query($database->dblink,"SELECT vref FROM ".TB_PREFIX."fdata WHERE f99 = '100' and f99t = '40'");
$winner = mysqli_num_rows($sql);