[Rt-commit] r6317 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Fri Oct 27 01:41:38 EDT 2006
Author: ruz
Date: Fri Oct 27 01:41:37 2006
New Revision: 6317
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Transaction_Overlay.pm
Log:
r4054 at cubic-pc: cubic | 2006-10-27 07:07:00 +0400
::Transaction->Attachments
* we don't want to fall into ACL checks during ACL checks
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Transaction_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Transaction_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Transaction_Overlay.pm Fri Oct 27 01:41:37 2006
@@ -434,7 +434,7 @@
$self->{'attachments'} = RT::Attachments->new( $self->CurrentUser );
# if it's a comment, return an empty object if they don't have the right to see it
- if ( $self->Type eq 'Comment' ) {
+ if ( $self->__Value('Type') eq 'Comment' ) {
unless ( $self->CurrentUserHasRight('ShowTicketComments') ) {
return $self->{'attachments'};
}
More information about the Rt-commit
mailing list