search only for nickname on active angel page

This commit is contained in:
Philip Häusler 2015-12-29 15:32:58 +01:00
parent 4684d708fb
commit 522546795b
1 changed files with 1 additions and 2 deletions

View File

@ -115,9 +115,8 @@ function admin_active() {
foreach ($users as &$usr) { foreach ($users as &$usr) {
if (count($tokens) > 0) { if (count($tokens) > 0) {
$match = false; $match = false;
$index = join("", $usr);
foreach ($tokens as $t) foreach ($tokens as $t)
if (stristr($index, trim($t))) { if (stristr($usr['Nick'], trim($t))) {
$match = true; $match = true;
break; break;
} }