From 7ee771d1ad78d23ba2095b5dc9f55ab67d8f093d Mon Sep 17 00:00:00 2001 From: asdf1899 Date: Fri, 19 Oct 2018 11:46:42 +0200 Subject: [PATCH] Fix prov error --- newReport.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/newReport.php b/newReport.php index df706c0..ad4e947 100644 --- a/newReport.php +++ b/newReport.php @@ -84,16 +84,21 @@ $rows = (int)$rows + 1; } $index = 0; + $checked = ""; for ($i=0; $i < $rows;$i++){ for($j=0;$j < 2; $j++){ if ($index < count($prov)){ + if ($index == 0){ + $checked = "checked"; + } echo '
'; + $checked = ""; $index++; } }