diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index edfc5a374..e1ea6673b 100644 --- a/addon/facebook/facebook.php +++ b/addon/facebook/facebook.php @@ -225,7 +225,7 @@ function facebook_post_hook(&$a,&$b) { // make links readable before we strip the code - $msg = preg_replace("/\[url=(.+?)\](.+?)\[\/url\]/is",'$2 [$1]',$msg); + $msg = preg_replace("/\[url=(.+?)\](.+?)\[\/url\]/is",'$2 $1',$msg); $msg = preg_replace("/\[img\](.+?)\[\/img\]/is", t('Image: ') . '$1',$msg);