summaryrefslogtreecommitdiff
path: root/plugins/TwitterBridge/daemons
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-12-04 20:39:50 +0000
committerZach Copley <zach@status.net>2009-12-04 20:39:50 +0000
commiteb0a5977ff7e325022d460ae3cf540f3415bd33d (patch)
tree794d9be21a667b48b9b64fe63689bb84303853df /plugins/TwitterBridge/daemons
parent0177b386d8384816ff2425cc6604b8debfb5c056 (diff)
Don't try to broadcast the notice if something went wrong.
Diffstat (limited to 'plugins/TwitterBridge/daemons')
-rwxr-xr-xplugins/TwitterBridge/daemons/twitterstatusfetcher.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php
index d8901f47b..b4ca12be2 100755
--- a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php
+++ b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php
@@ -213,7 +213,9 @@ class TwitterStatusFetcher extends ParallelizingDaemon
$notice = $this->saveStatus($status, $flink);
- common_broadcast_notice($notice);
+ if (!empty($notice)) {
+ common_broadcast_notice($notice);
+ }
}
// Okay, record the time we synced with Twitter for posterity