diff --git a/GameEngine/Database.php b/GameEngine/Database.php index fb6de3dd..c2cf04ab 100755 --- a/GameEngine/Database.php +++ b/GameEngine/Database.php @@ -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); diff --git a/todo.txt b/todo.txt index ed0e5af6..6299e9e3 100644 --- a/todo.txt +++ b/todo.txt @@ -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 \ No newline at end of file +- 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 \ No newline at end of file