summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/pages/admin_active.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/pages/admin_active.php b/includes/pages/admin_active.php
index e3fa0996..3ff3e0fb 100644
--- a/includes/pages/admin_active.php
+++ b/includes/pages/admin_active.php
@@ -115,9 +115,8 @@ function admin_active() {
foreach ($users as &$usr) {
if (count($tokens) > 0) {
$match = false;
- $index = join("", $usr);
foreach ($tokens as $t)
- if (stristr($index, trim($t))) {
+ if (stristr($usr['Nick'], trim($t))) {
$match = true;
break;
}