[Jifty-commit] r2838 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sun Feb 25 16:35:48 EST 2007


Author: falcone
Date: Sun Feb 25 16:35:46 2007
New Revision: 2838

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Notification.pm

Log:
 r16888 at ketch:  falcone | 2007-02-25 16:32:09 -0500
 * quiet a warning when id was undef in testing


Modified: jifty/trunk/lib/Jifty/Notification.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Notification.pm	(original)
+++ jifty/trunk/lib/Jifty/Notification.pm	Sun Feb 25 16:35:46 2007
@@ -207,6 +207,7 @@
     for my $to ( grep {defined} ($self->to, $self->to_list) ) {
         if ($to->can('id')) {
         next if     $currentuser_object_class->can("nobody")
+                and $currentuser_object_class->nobody->id
                 and $to->id == $currentuser_object_class->nobody->id;
                 
         next if $to->id == $currentuser_object_class->superuser->id;


More information about the Jifty-commit mailing list