summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 16:40:50 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 16:40:50 -0400
commit5adb386774887b4d581b7aad3a9000eab703aa1a (patch)
tree298b4f0ef5ac54cf0f19029ffdb48568515ccb90 /lib/util.php
parent709f9fe1b75cc87c6d9e0908b8e5ec7d3a6bd04d (diff)
wrong comparison operator for saving reply to self
darcs-hash:20080709204050-84dde-b7ed70cb1820e8257f47d5cae23fbc1e1ff5a52f.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index a9a42a3ab..1498ffb14 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);