summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sqlbox/reportall.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/sqlbox/reportall.php b/sqlbox/reportall.php
index 3efca91..659da9c 100644
--- a/sqlbox/reportall.php
+++ b/sqlbox/reportall.php
@@ -38,6 +38,9 @@ $table->align = array_merge(array("left"), array_fill(0, count($b), 'center'));
$users = $DB->get_records("user");
foreach ($users as $user) {
+ if (isguestuser($user))
+ continue;
+
$name = $user->firstname.' '.$user->lastname;
$solutions = $DB->get_records_sql("SELECT s.id, sol.correct