Bugfix in wppost, improvement in libertree export and changes in statusnet and twitter #62
1 changed files with 6 additions and 1 deletions
|
@ -168,6 +168,11 @@ function tumblr_send(&$a,&$b) {
|
||||||
if(count($tag_arr))
|
if(count($tag_arr))
|
||||||
$tags = implode(',',$tag_arr);
|
$tags = implode(',',$tag_arr);
|
||||||
|
|
||||||
|
if ($b['title'] == '') {
|
||||||
|
// Take the description from the bookmark
|
||||||
|
if(preg_match("/\[bookmark\=([^\]]*)\](.*?)\[\/bookmark\]/is",$b['body'],$matches))
|
||||||
|
$b['title'] = $matches[2];
|
||||||
|
}
|
||||||
|
|
||||||
$params = array(
|
$params = array(
|
||||||
'email' => $tmbl_username,
|
'email' => $tmbl_username,
|
||||||
|
|
Loading…
Reference in a new issue