[Rt-commit] r14051 - in rt/branches/3.999-DANGEROUS: lib/RT/Model
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Jul 14 06:09:31 EDT 2008
Author: sunnavy
Date: Mon Jul 14 06:09:27 2008
New Revision: 14051
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Model/Queue.pm
Log:
r14392 at sunnavys-mb: sunnavy | 2008-07-14 16:14:33 +0800
seems no principal_id sub
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/Queue.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/Queue.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/Queue.pm Mon Jul 14 06:09:27 2008
@@ -901,7 +901,7 @@
# {{{ Check ACLS
#If the watcher we're trying to add is for the current user
if ( defined $args{'principal_id'}
- and $self->current_user->principal_id eq $args{'principal_id'} )
+ and $self->current_user->principal_object->id eq $args{'principal_id'} )
{
# If it's an AdminCc and they don't have
More information about the Rt-commit
mailing list