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);