]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't try to broadcast the notice if something went wrong.
authorZach Copley <zach@status.net>
Fri, 4 Dec 2009 20:39:50 +0000 (20:39 +0000)
committerZach Copley <zach@status.net>
Fri, 4 Dec 2009 20:39:50 +0000 (20:39 +0000)
plugins/TwitterBridge/daemons/twitterstatusfetcher.php

index d8901f47ba952bda0e18981ca18b6d67feb81a25..b4ca12be23bee66796c2d186db7329058ee20517 100755 (executable)
@@ -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