diff options
author | Evan Prodromou <evan@status.net> | 2009-12-11 11:38:08 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-12-11 11:38:08 -0500 |
commit | 60754fc6de8f73b3e74dbec30d91fffe11b094c6 (patch) | |
tree | 168dff88fe89417b22cd28efbde54b36b018407c /plugins | |
parent | 81843f2acd5375a9072d091fd58c6a6af079295e (diff) | |
parent | 89256fa754c1e03b822b8eeac388cc822b3c58ca (diff) |
Merge branch '0.9.x' into forward
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Facebook/facebookaction.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Facebook/facebookaction.php b/plugins/Facebook/facebookaction.php index 705bb2780..24bf215fd 100644 --- a/plugins/Facebook/facebookaction.php +++ b/plugins/Facebook/facebookaction.php @@ -445,8 +445,9 @@ class FacebookAction extends Action $replyto = $this->trimmed('inreplyto'); try { - $notice = Notice::saveNew($user->id, $content, - 'web', 1, ($replyto == 'false') ? null : $replyto); + $notice = Notice::saveNew($user->id, $content, 'web', + array('reply_to' => ($replyto == 'false') ? null : $replyto)); + } catch (Exception $e) { $this->showPage($e->getMessage()); return; |