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/twitter.php | |
parent | ab53fc947459a55bc3a08b32378f68519f42b31e (diff) |
Get rid of error ('Trying to get property of non-object')
Diffstat (limited to 'lib/twitter.php')
-rw-r--r-- | lib/twitter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/twitter.php b/lib/twitter.php index 3ec082686..d5eba084b 100644 --- a/lib/twitter.php +++ b/lib/twitter.php @@ -367,7 +367,7 @@ function broadcast_twitter($notice) // XXX: Not sure WHERE to check whether a notice should go to // Twitter. Should we even put in the queue if it shouldn't? --Zach - if (!is_null($flink) && is_twitter_bound($notice, $flink)) { + if (is_twitter_bound($notice, $flink)) { $fuser = $flink->getForeignUser(); $twitter_user = $fuser->nickname; |