X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FURI%2Fa.pm;h=640490ff117e9ff0eb962c014e269c836771345c;hb=7322f2afedcc2f427e997d1535a503613a83f088;hp=b88af26fc0be252efdf0687908dbcc1dd10c0b5e;hpb=85e677b86fc37c54e6de2b06340351a28f5a5916;p=freeside.git diff --git a/rt/lib/RT/URI/a.pm b/rt/lib/RT/URI/a.pm index b88af26fc..640490ff1 100644 --- a/rt/lib/RT/URI/a.pm +++ b/rt/lib/RT/URI/a.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -51,8 +51,8 @@ package RT::URI::a; use strict; use warnings; -use RT::Article; use base qw/RT::URI::fsck_com_article/; +use RT::Article; my $scheme = "a"; @@ -71,11 +71,11 @@ sub ParseURI { # articles after stripping off the a: prefix. if ($uri =~ /^$scheme:(\d+)/) { - my $value = $1; - return $self->SUPER::ParseURI($value); + my $value = $1; + return $self->SUPER::ParseURI($value); } else { - $self->{'uri'} = $uri; - return undef; + $self->{'uri'} = $uri; + return undef; } }