summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-12-29 15:32:58 +0100
committerPhilip Häusler <msquare@notrademark.de>2015-12-29 15:32:58 +0100
commit522546795b04d946e34b07a44bdb7cd2a4a8cfac (patch)
tree7123dbb007ac1216394002cc70731fdb502dd599 /includes/pages
parent4684d708fb93304379314bea24ca8d5648877108 (diff)
search only for nickname on active angel page
Diffstat (limited to 'includes/pages')
-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;
}