[Rt-commit] r4955 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Apr 4 13:52:06 EDT 2006
Author: ruz
Date: Tue Apr 4 13:52:05 2006
New Revision: 4955
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
Log:
r2296 at cubic-pc: cubic | 2006-04-04 16:07:37 +0400
* drop uninit warning
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm Tue Apr 4 13:52:05 2006
@@ -238,7 +238,7 @@
# FIXME: there is no TicketBaseURI option in config
my $base_uri = RT->Config->Get('TicketBaseURI');
#If it's a local URI, turn it into a ticket id
- if ( $id =~ /^$base_uri(\d+)$/ ) {
+ if ( $base_uri && $id =~ /^$base_uri(\d+)$/ ) {
$id = $1;
}
More information about the Rt-commit
mailing list