From e0074fe42cd13abba6afeebf1236c7a4d2774839 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 25 Jan 2013 13:23:43 +0100 Subject: reportall: Indicate whether a user did a query at all or not --- sqlbox/reportall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlbox/reportall.php') 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); } -- cgit