wrong comparison operator for saving reply to self
darcs-hash:20080709204050-84dde-b7ed70cb1820e8257f47d5cae23fbc1e1ff5a52f.gz
This commit is contained in:
parent
709f9fe1b7
commit
5adb386774
|
@ -870,7 +870,7 @@ function common_save_replies($notice) {
|
||||||
if (!$recipient) {
|
if (!$recipient) {
|
||||||
continue;
|
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;
|
$reply_for = $recipient;
|
||||||
$recipient_notice = $reply_for->getCurrentNotice();
|
$recipient_notice = $reply_for->getCurrentNotice();
|
||||||
$orig = clone($notice);
|
$orig = clone($notice);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user