summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-29 15:32:54 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-29 15:38:06 +0100
commit574587ca62c1743c5cb855a0241d1db9723ce88c (patch)
treec39a55d6837fed771b006de48fc7c0ecf9a0f772
parent4f263a19224512b1bf6ed787f29afffecf1eb330 (diff)
downloadsqltutor-plugin-574587ca62c1743c5cb855a0241d1db9723ce88c.tar.gz
sqltutor-plugin-574587ca62c1743c5cb855a0241d1db9723ce88c.tar.bz2
sqltutor-plugin-574587ca62c1743c5cb855a0241d1db9723ce88c.zip
reportall: Do not show deleted users
-rw-r--r--sqlbox/reportall.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlbox/reportall.php b/sqlbox/reportall.php
index 41c6d78..8bd4a12 100644
--- a/sqlbox/reportall.php
+++ b/sqlbox/reportall.php
@@ -36,7 +36,7 @@ $table = new html_table;
$table->head = array_merge(array("Nutzer"), $b);
$table->align = array_merge(array("left"), array_fill(0, count($b), 'center'));
-$users = $DB->get_records("user");
+$users = $DB->get_records("user", array('deleted'=>'0'));
foreach ($users as $user) {
if (isguestuser($user))
continue;