mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Fixing some notices
This commit is contained in:
parent
96925a3a75
commit
225243645e
3 changed files with 8 additions and 1 deletions
|
@ -15,6 +15,9 @@ class StatusNetOAuth extends TwitterOAuth
|
|||
function get_maxlength()
|
||||
{
|
||||
$config = $this->get($this->host . 'statusnet/config.json');
|
||||
if (empty($config)) {
|
||||
return 0;
|
||||
}
|
||||
return $config->site->textlimit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue