Browse Source

added forgotten trim

pull/5327/head
Tobias Diekershoff 3 years ago
parent
commit
a49e094308
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Model/User.php

+ 1
- 0
src/Model/User.php View File

@ -323,6 +323,7 @@ class User
}
// check if the nickname is in the list of blocked nicknames
$forbidden = explode(',', $forbidden_nicknames);
$forbidden = array_map('trim', $forbidden);
if (in_array(strtolower($nickname), $forbidden)) {
return true;
}


Loading…
Cancel
Save