From: Evan Prodromou Date: Wed, 9 Jul 2008 20:40:50 +0000 (-0400) Subject: wrong comparison operator for saving reply to self X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5adb386774887b4d581b7aad3a9000eab703aa1a;p=quix0rs-gnu-social.git wrong comparison operator for saving reply to self darcs-hash:20080709204050-84dde-b7ed70cb1820e8257f47d5cae23fbc1e1ff5a52f.gz --- 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);