FIX export survey in csv (unknown and ko was inverted)

This commit is contained in:
Laurent Destailleur 2022-11-29 09:59:28 +01:00
parent 00bdf902a3
commit e7b06df4cc

View File

@ -113,10 +113,10 @@ if ($resql) {
$input .= 'OK;'; $input .= 'OK;';
$somme[$k]++; $somme[$k]++;
} elseif ($car == "2") { } elseif ($car == "2") {
$input .= 'KO;'; $input .= ';';
$somme[$k]++; $somme[$k]++;
} else { } else {
$input .= ';'; $input .= 'KO;';
} }
} }