diff --git a/lib/WebGUI/Privilege.pm b/lib/WebGUI/Privilege.pm
index 73d3dec9c..7c826006d 100644
--- a/lib/WebGUI/Privilege.pm
+++ b/lib/WebGUI/Privilege.pm
@@ -16,6 +16,7 @@ use WebGUI::International;
use WebGUI::Operation::Account ();
use WebGUI::Session;
use WebGUI::SQL;
+use WebGUI::URL;
#-------------------------------------------------------------------
sub adminOnly {
@@ -24,9 +25,9 @@ sub adminOnly {
$output = '
'.WebGUI::International::get(35).'
';
$output .= WebGUI::International::get(36);
$output .= '';
- $sth = WebGUI::SQL->read("select users.username, users.email from users,groupings where users.userId=groupings.userId and groupings.groupId=3 order by users.username");
+ $sth = WebGUI::SQL->read("select users.username,users.userId from users,groupings where users.userId=groupings.userId and groupings.groupId=3 order by users.username");
while (@data = $sth->array) {
- $output .= '- '.$data[0].' ('.$data[1].')';
+ $output .= '
- '.$data[0].'';
}
$sth->finish;
$output .= '
';