X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FURI%2Fa.pm;h=8b7914d14b18ab20750dd12d9b0f4c4dbb15d6c1;hb=ed022ff91d69fd1258250cb027c4c1f17e1b5b10;hp=eca253fa5c7a7fa7bf1d274e2fbf0994b1beb0e1;hpb=919e930aa9279b3c5cd12b593889cd6de79d67bf;p=freeside.git diff --git a/rt/lib/RT/URI/a.pm b/rt/lib/RT/URI/a.pm index eca253fa5..8b7914d14 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-2015 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2017 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; } }