From 2ed9d2dac5c2eb0d44c1168cdd861c925f184fb6 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 8 Jul 2009 00:30:18 -0700 Subject: Get rid of error ('Trying to get property of non-object') --- lib/facebookutil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/facebookutil.php') 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 { -- cgit v1.2.3-54-g00ecf