diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-25 00:01:40 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-25 00:03:51 +0100 |
commit | e9740624fd977bde32638f1d5afcd71be724a8f5 (patch) | |
tree | 3cd49cd14c50abedf1a891f1e8f9c2a40c23bca8 /sqlbox/reportall.php | |
parent | db4f945609caf1c8a62beed5d5eb3103184ebed7 (diff) | |
download | sqltutor-plugin-e9740624fd977bde32638f1d5afcd71be724a8f5.tar.gz sqltutor-plugin-e9740624fd977bde32638f1d5afcd71be724a8f5.tar.bz2 sqltutor-plugin-e9740624fd977bde32638f1d5afcd71be724a8f5.zip |
reportall: Dont show guestuser
Since we forbid guests to query..
Diffstat (limited to 'sqlbox/reportall.php')
-rw-r--r-- | sqlbox/reportall.php | 3 |
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 |