From: Tobias Diekershoff Date: Fri, 6 Jul 2018 13:49:27 +0000 (+0200) Subject: added forgotten trim X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a49e09430886057b3c00fcdb3ac0ec58cc97f6eb;p=friendica.git added forgotten trim --- diff --git a/src/Model/User.php b/src/Model/User.php index f1fa32f48d..dc5702b605 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -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; }