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:
@ -432,7 +432,7 @@ function resultsDB($variant_id, $version, $resulttypes)
|
|||||||
if($row->instr_absolute != NULL)
|
if($row->instr_absolute != NULL)
|
||||||
{
|
{
|
||||||
$results["Daten"][$row->instr_absolute] = array();
|
$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];
|
$results["Daten"][$row->instr_absolute][$fieldname[$i]] = $row->$fieldname[$i];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user