summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 90abe72db..b0edb8ef0 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1111,7 +1111,7 @@ function common_broadcast_notice($notice, $remote=false) {
// Check to see if notice should go to Twitter
$flink = Foreign_link::getForeignLink($notice->profile_id, 1); // 1 == Twitter
- if ($flink) {
+ if ($flink->noticesync == 1) {
if (!common_twitter_broadcast($notice, $flink)) {
common_debug('Unable to send notice: ' . $notice->id . ' to Twitter.', __FILE__);
}