visualfail: off-by-one in resultsDB()

This one was responsible for a lot of notices in the terminal.

Change-Id: I097705af15d771d0dcb5a217445fec3db89fd132
This commit is contained in:
Horst Schirmeier
2015-01-06 15:10:21 +01:00
parent 42773e2be5
commit 63670e7bce

View File

@ -432,7 +432,7 @@ function resultsDB($variant_id, $version, $resulttypes)
if($row->instr_absolute != NULL)
{
$results["Daten"][$row->instr_absolute] = array();
for ($i = 1 ; $i < $numfields ; $i++)
for ($i = 2; $i < $numfields ; $i++)
{
$results["Daten"][$row->instr_absolute][$fieldname[$i]] = $row->$fieldname[$i];