mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 04:43:40 +00:00
typo
This commit is contained in:
parent
17fa04f25a
commit
2fafea11fa
1 changed files with 1 additions and 1 deletions
|
@ -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