From 522546795b04d946e34b07a44bdb7cd2a4a8cfac Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Tue, 29 Dec 2015 15:32:58 +0100 Subject: search only for nickname on active angel page --- includes/pages/admin_active.php | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3-54-g00ecf