From e369c5f740ccf1b10bf97c41c72d8723dd21cd30 Mon Sep 17 00:00:00 2001 From: millette Date: Mon, 17 Nov 2008 12:31:44 -0500 Subject: nudge : added js code to enable ajax darcs-hash:20081117173144-099f7-b475f072ddc36e03143e05698e86186955566db9.gz --- actions/nudge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/nudge.php') diff --git a/actions/nudge.php b/actions/nudge.php index 2685774a5..019c88b50 100644 --- a/actions/nudge.php +++ b/actions/nudge.php @@ -53,7 +53,7 @@ class NudgeAction extends Action { } function notify($user, $other) { - if ($other && $other->id != $user->id) { + if ($other->id != $user->id) { if ($other->email && $other->emailnotifynudge) { mail_notify_nudge($user, $other); } @@ -61,5 +61,5 @@ class NudgeAction extends Action { # XXX: notify by SMS } } - } + -- cgit v1.2.3-54-g00ecf