photo lockview not working, temp fix for po2php
This commit is contained in:
parent
2fffec912c
commit
5eea0d5ecb
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue