We are not using laravel helpers on GNU Social

This commit is contained in:
Diogo Cordeiro 2018-07-06 21:52:03 +01:00
parent 4d3321ac21
commit 167f88a602

View File

@ -70,7 +70,7 @@ class Activitypub_Discovery {
$profile->profileurl = $res["url"]; $profile->profileurl = $res["url"];
$profile->nickname = $res["nickname"]; $profile->nickname = $res["nickname"];
$profile->fullname = $res["display_name"]; $profile->fullname = $res["display_name"];
$profile->bio = str_limit($res["summary"], 1000); $profile->bio = substr ($res["summary"], 0, 1000);
$profile->insert (); $profile->insert ();
return $profile; return $profile;