From d73ed53535845af2ed0c731f9dbf7997ec470536 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 18 Sep 2008 11:28:23 -0400 Subject: don't notify you favor your own notice darcs-hash:20080918152823-5ed1f-bc7bea3305c39cfbc41f4a116b9a602ada556365.gz --- actions/favor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/favor.php') diff --git a/actions/favor.php b/actions/favor.php index 142d83ae1..a5163efed 100644 --- a/actions/favor.php +++ b/actions/favor.php @@ -80,7 +80,7 @@ class FavorAction extends Action { function notify($fave, $notice, $user) { $other = User::staticGet('id', $notice->profile_id); - if ($other) { + if ($other && $other->id != $user->id) { if ($other->email && $other->emailnotifyfav) { $this->notify_mail($other, $user, $notice); } -- cgit v1.2.3-54-g00ecf