diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-25 13:23:43 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-25 22:25:54 +0100 |
commit | e0074fe42cd13abba6afeebf1236c7a4d2774839 (patch) | |
tree | 39b1a7e4074d593bc831f42eabbde315fb577b54 /sqlbox | |
parent | b9bee5750e3cdcbd7d759f462d3d2d1b855497a3 (diff) | |
download | sqltutor-plugin-e0074fe42cd13abba6afeebf1236c7a4d2774839.tar.gz sqltutor-plugin-e0074fe42cd13abba6afeebf1236c7a4d2774839.tar.bz2 sqltutor-plugin-e0074fe42cd13abba6afeebf1236c7a4d2774839.zip |
reportall: Indicate whether a user did a query at all or not
Diffstat (limited to 'sqlbox')
-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); } |