[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-commit
Subject: [Rt-commit] r19388 - in rt/3.8/trunk: .
From: sartak () bestpractical ! com
Date: 2009-04-30 21:45:41
Message-ID: 20090430214543.9B30A4DD01D () diesel ! bestpractical ! com
[Download RAW message or body]
Author: sartak
Date: Thu Apr 30 17:45:32 2009
New Revision: 19388
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/lib/RT/User_Overlay.pm
Log:
r82606@onn: sartak | 2009-04-30 17:45:12 -0400
Avoid undef warnings in RT::User_Overlay::_Value
Modified: rt/3.8/trunk/lib/RT/User_Overlay.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/User_Overlay.pm (original)
+++ rt/3.8/trunk/lib/RT/User_Overlay.pm Thu Apr 30 17:45:32 2009
@@ -1601,7 +1601,7 @@
#If the user wants to see their own values, let them
# TODO figure ouyt a better way to deal with this
- elsif ( $self->CurrentUser->Id == $self->Id ) {
+ elsif ( defined($self->Id) && $self->CurrentUser->Id == $self->Id ) {
return ( $self->SUPER::_Value($field) );
}
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic