[Rt-commit] r12782 - in rt/branches/3.8-TESTING: .

jesse at bestpractical.com jesse at bestpractical.com
Mon Jun 2 09:12:15 EDT 2008


Author: jesse
Date: Mon Jun  2 09:12:15 2008
New Revision: 12782

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Group_Overlay.pm

Log:
 r32083 at 100:  jesse | 2008-06-02 08:45:37 -0400
 * Quiet down a warning when we pass a bogus argument to Group->HasMember


Modified: rt/branches/3.8-TESTING/lib/RT/Group_Overlay.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Group_Overlay.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Group_Overlay.pm	Mon Jun  2 09:12:15 2008
@@ -1024,7 +1024,7 @@
         $id = $principal;
     } else {
         $RT::Logger->error("Group::HasMember was called with an argument that".
-                          " isn't an RT::Principal or id. It's $principal");
+                          " isn't an RT::Principal or id. It's ".($principal||'(undefined)'));
         return(undef);
     }
     return undef unless $id;


More information about the Rt-commit mailing list