summaryrefslogtreecommitdiff
path: root/lib/facebookutil.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facebookutil.php')
-rw-r--r--lib/facebookutil.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facebookutil.php b/lib/facebookutil.php
index 4d0df797b..5eb9534b1 100644
--- a/lib/facebookutil.php
+++ b/lib/facebookutil.php
@@ -108,11 +108,11 @@ function facebookBroadcastNotice($notice)
{
$facebook = getFacebook();
$flink = Foreign_link::getByUserID($notice->profile_id, FACEBOOK_SERVICE);
- $fbuid = $flink->foreign_id;
if (isFacebookBound($notice, $flink)) {
$status = null;
+ $fbuid = $flink->foreign_id;
// Get the status 'verb' (prefix) the user has set
try {