summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2008-09-23 19:19:21 -0400
committerZach Copley <zach@controlyourself.ca>2008-09-23 19:19:21 -0400
commit285f062197e7ffe18e2a1cf001f0f6eb8e8821fc (patch)
treecd5df9e9bfeae99dad9189bae4f7dbb873246495 /lib/util.php
parentd5bb9bda0b6ea6c64679c56fe627d920d68bcdc0 (diff)
Twitter bridge - Bugfix: You can now turn off brige via prefs
darcs-hash:20080923231921-7b5ce-751490e59ae0a76cebf83eea98da902a63e39645.gz
Diffstat (limited to 'lib/util.php')
-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__);
}