From 5adb386774887b4d581b7aad3a9000eab703aa1a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 9 Jul 2008 16:40:50 -0400 Subject: [PATCH] wrong comparison operator for saving reply to self darcs-hash:20080709204050-84dde-b7ed70cb1820e8257f47d5cae23fbc1e1ff5a52f.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index a9a42a3ab1..1498ffb142 100644 --- a/lib/util.php +++ b/lib/util.php @@ -870,7 +870,7 @@ function common_save_replies($notice) { if (!$recipient) { continue; } - if ($i == 0 && ($recipient->id == $sender->id)) { # Don't save reply to self + if ($i == 0 && ($recipient->id != $sender->id)) { # Don't save reply to self $reply_for = $recipient; $recipient_notice = $reply_for->getCurrentNotice(); $orig = clone($notice); -- 2.39.5