aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-10 20:10:13 -0700
committerFriendika <info@friendika.com>2011-05-10 20:10:13 -0700
commit5eea0d5ecb7d98ebc70c038d23c87442d8200310 (patch)
tree78f6bffb14e2a088b61778380a750da01aac2c7b /mod/register.php
parent2fffec912c19716546bef0ec8a52bc5cb102801c (diff)
downloadvolse-hubzilla-5eea0d5ecb7d98ebc70c038d23c87442d8200310.tar.gz
volse-hubzilla-5eea0d5ecb7d98ebc70c038d23c87442d8200310.tar.bz2
volse-hubzilla-5eea0d5ecb7d98ebc70c038d23c87442d8200310.zip
photo lockview not working, temp fix for po2php
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/register.php b/mod/register.php
index 21d5a1033..da629a214 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -70,9 +70,9 @@ function register_post(&$a) {
$err = '';
- if(strlen($username) > 48)
+ if(mb_strlen($username) > 48)
$err .= t('Please use a shorter name.') . EOL;
- if(strlen($username) < 3)
+ if(mb_strlen($username) < 3)
$err .= t('Name too short.') . EOL;
// I don't really like having this rule, but it cuts down