mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
chore: ToDo and formatting
This commit is contained in:
@@ -646,7 +646,7 @@ class Building {
|
||||
}
|
||||
}
|
||||
else {
|
||||
return ($village->resarray['f'.$field] == count($dataarray) - $loop);
|
||||
return ($village->resarray['f'.$field] == count($dataarray) - $loop);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ if(isset($_GET['gid'])) {
|
||||
if(isset($_POST['t'])){
|
||||
$_GET['t'] = preg_replace("/[^a-zA-Z0-9_-]/","",$_POST['t']);
|
||||
}
|
||||
if(isset($_GET['id'])) {
|
||||
if(isset($_GET['id'])) {
|
||||
if (!ctype_digit(preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['id']))){
|
||||
$_GET['id'] = "1";
|
||||
}
|
||||
|
||||
@@ -24,4 +24,5 @@
|
||||
- sending messages to players via Admin doesn't work
|
||||
- check aliance invitation accepting - apparently it doesn't work too well on first try?
|
||||
- normalize forum tables - varchar is used for numeric values and is joined with int field
|
||||
- task 1 => construct woodcutter will not reload the page when finished, so it would still seem that woodcutter build is in progress
|
||||
- task 1 => construct woodcutter will not reload the page when finished, so it would still seem that woodcutter build is in progress
|
||||
- it's possible to train 2 senators - when 1 is trained, another one is possible to be trained
|
||||
Reference in New Issue
Block a user