summaryrefslogtreecommitdiff
path: root/lib/facebookutil.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-19 15:36:26 -0400
committerEvan Prodromou <evan@status.net>2009-10-19 15:36:26 -0400
commit035d4cf86e8cd2bec46a9b24e098c798f3ec3cb3 (patch)
treede92e5245dffd047460b60425a3d4035d84d0435 /lib/facebookutil.php
parent90de6eae5a6195e4455a726d7183dbefc8eeb617 (diff)
parentce4ed6cca54134152c11baf8e0d0ff5b587b4998 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/facebookutil.php')
-rw-r--r--lib/facebookutil.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facebookutil.php b/lib/facebookutil.php
index f5121609d..c991c5439 100644
--- a/lib/facebookutil.php
+++ b/lib/facebookutil.php
@@ -99,8 +99,8 @@ function facebookBroadcastNotice($notice)
// XXX: Does this call count against our per user FB request limit?
// If so we should consider storing verb elsewhere or not storing
- $prefix = $facebook->api_client->data_getUserPreference(FACEBOOK_NOTICE_PREFIX,
- $fbuid);
+ $prefix = trim($facebook->api_client->data_getUserPreference(FACEBOOK_NOTICE_PREFIX,
+ $fbuid));
$status = "$prefix $notice->content";