summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/favor.php2
1 files changed, 1 insertions, 1 deletions
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);
}