fix: units training now works again

This commit is contained in:
Martin Ambrus
2017-10-18 10:54:12 +02:00
parent d76669cb42
commit a9f67cbb1c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -3258,7 +3258,7 @@ class MYSQLi_DB {
}
function modifyUnit($vref, $array_unit, $array_amt, $array_mode) {
list($vref, $array_unit, $array_amt, $array_mode) = $this->escape_input((int) $vref, $array_unit, $array_amt, $array_modes);
list($vref, $array_unit, $array_amt, $array_mode) = $this->escape_input((int) $vref, $array_unit, $array_amt, $array_mode);
$i = -1;
$units='';
$number = count($array_unit);
+2 -1
View File
@@ -23,4 +23,5 @@
- disallow kicking yourself from alliance or provide a confirmation dialog and correct redirect
- 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
- 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