X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Flib%2FRT%2FURI%2Fa.pm;h=c7e6d678c0e1b796fd6d0a89ee1900515b8ea489;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;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..c7e6d678c 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-2019 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; } }