summaryrefslogtreecommitdiff
path: root/includes/model
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model')
-rw-r--r--includes/model/User_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/User_model.php b/includes/model/User_model.php
index da25a9a2..304816e8 100644
--- a/includes/model/User_model.php
+++ b/includes/model/User_model.php
@@ -116,7 +116,7 @@ function Users_by_angeltype($angeltype)
*/
function User_validate_Nick($nick)
{
- return preg_replace('/([^\p{L}\p{N}-_. ]+)/ui', '', trim($nick));
+ return preg_replace('/([^\p{L}\p{N}\-_. ]+)/ui', '', trim($nick));
}
/**