diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-07-08 00:30:18 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-07-08 00:30:18 -0700 |
commit | 2ed9d2dac5c2eb0d44c1168cdd861c925f184fb6 (patch) | |
tree | 54b4dd21dc43ef158ce4d22e5bd0a98951b9a0bc /lib/facebookutil.php | |
parent | ab53fc947459a55bc3a08b32378f68519f42b31e (diff) |
Get rid of error ('Trying to get property of non-object')
Diffstat (limited to 'lib/facebookutil.php')
-rw-r--r-- | lib/facebookutil.php | 2 |
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 { |