forked from friendica/friendica-addons
typo
This commit is contained in:
parent
17fa04f25a
commit
2fafea11fa
|
@ -238,7 +238,7 @@ function twitter_post_hook(&$a,&$b) {
|
||||||
$max_char = 140; // max. length for a tweet
|
$max_char = 140; // max. length for a tweet
|
||||||
$msg = strip_tags(bbcode($b['body']));
|
$msg = strip_tags(bbcode($b['body']));
|
||||||
if ( strlen($msg) > $max_char) {
|
if ( strlen($msg) > $max_char) {
|
||||||
logger('Twitter: have to shorten the message to fit 140 chars', LOGGER_DEBUG)
|
logger('Twitter: have to shorten the message to fit 140 chars', LOGGER_DEBUG);
|
||||||
$shortlink = "";
|
$shortlink = "";
|
||||||
require_once('library/slinky.php');
|
require_once('library/slinky.php');
|
||||||
// post url = base url + /display/ + owner + post id
|
// post url = base url + /display/ + owner + post id
|
||||||
|
|
Loading…
Reference in a new issue