diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index df2f86d3a..fbe4b31e6 100644 --- a/addon/facebook/facebook.php +++ b/addon/facebook/facebook.php @@ -1,5 +1,15 @@ true )); try { - $statusUpdate = $facebook->api('/me/feed', 'post', array('message'=> bbcode($datarray['body']), 'cb' => '')); + $statusUpdate = $facebook->api('/me/feed', 'post', array('message'=> bbcode($b['body']), 'cb' => '')); } catch (FacebookApiException $e) { notice( t('Facebook status update failed.') . EOL);