chore: ToDo and formatting

This commit is contained in:
Martin Ambrus
2017-10-18 12:43:37 +02:00
parent 6d9a93a4d4
commit 4c2c769a44
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -646,7 +646,7 @@ class Building {
}
}
else {
return ($village->resarray['f'.$field] == count($dataarray) - $loop);
return ($village->resarray['f'.$field] == count($dataarray) - $loop);
}
}
+1 -1
View File
@@ -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";
}
+2 -1
View File
@@ -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