Split the name in the hcard

This commit is contained in:
Michael 2017-12-20 21:15:13 +00:00
parent fb88d78862
commit 008c97c570
2 changed files with 5 additions and 4 deletions

View file

@ -3970,7 +3970,7 @@ class Diaspora
*
* @return array The array with "first" and "last"
*/
private static function splitName($name) {
public static function splitName($name) {
$name = trim($name);
// Is the name longer than 64 characters? Then cut the rest of it.