[Rt-commit] r18685 - in rt/3.999/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Wed Mar 4 22:21:53 EST 2009
Author: sartak
Date: Wed Mar 4 22:21:53 2009
New Revision: 18685
Modified:
rt/3.999/trunk/ (props changed)
rt/3.999/trunk/lib/RT/Model/Ticket.pm
Log:
r80946 at onn: sartak | 2009-03-04 22:21:13 -0500
Avoid shadowing a lexical
Modified: rt/3.999/trunk/lib/RT/Model/Ticket.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Model/Ticket.pm (original)
+++ rt/3.999/trunk/lib/RT/Model/Ticket.pm Wed Mar 4 22:21:53 2009
@@ -572,7 +572,7 @@
return ( 0, 0, _("Ticket could not be created due to an internal error") );
}
- my ($owner_group, $msg) = $self->create_role_group('owner');
+ ((my $owner_group), $msg) = $self->create_role_group('owner');
unless ( $owner_group ) {
Jifty->log->fatal( "Aborting ticket creation because of above error." );
Jifty->handle->rollback();
More information about the Rt-commit
mailing list