diff options
Diffstat (limited to 'sqlbox/reportall.php')
-rw-r--r-- | sqlbox/reportall.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlbox/reportall.php b/sqlbox/reportall.php index e6a6dab..035dfe8 100644 --- a/sqlbox/reportall.php +++ b/sqlbox/reportall.php @@ -50,7 +50,7 @@ foreach ($users as $user) { array('id'=>$user->id)); $s = array(); foreach ($solutions as $solution) - $s[$solution->id] = ($solution->correct == 1) ? '☑' : '☒'; + $s[$solution->id] = ($solution->correct == '1') ? '☑' : ($solution->correct == '0' ? '☒' : '☐'); $table->data[] = array_merge(array($name), $s); } |