summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 638bd0333..8984c1c82 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -847,7 +847,8 @@ function common_save_replies($notice) {
$reply->notice_id = $notice->id;
$reply->profile_id = $recipient->id;
if ($reply_for) {
- $recipient_notice = $reply_for->getCurrentNotice($notice->created);
+# $recipient_notice = $reply_for->getCurrentNotice($notice->created);
+ $recipient_notice = $reply_for->getCurrentNotice();
$reply->replied_id = $recipient_notice->id;
}
$id = $reply->insert();