X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSearch%2FElements%2FResultsRSSView;h=5033c8c64b8047f42a96149afff2e2ec471f0459;hb=33beebf4cb42eba3e1dd868ad5e0af102de961da;hp=f3b416a4ed461b3b815d2c728b1933c93858c918;hpb=7ac86daf67b0a95153b736d5811f9050363f6553;p=freeside.git diff --git a/rt/share/html/Search/Elements/ResultsRSSView b/rt/share/html/Search/Elements/ResultsRSSView index f3b416a4e..5033c8c64 100644 --- a/rt/share/html/Search/Elements/ResultsRSSView +++ b/rt/share/html/Search/Elements/ResultsRSSView @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -70,7 +70,7 @@ if ( $m->request_comp->path =~ RT->Config->Get('WebNoAuthRegex') ) { # convert to perl strings $name = Encode::decode_utf8($name); - my $user = RT::User->new($RT::SystemUser); + my $user = RT::User->new(RT->SystemUser); $user->Load($name); $notfound->("Invalid user: $user") unless $user->id; @@ -102,7 +102,7 @@ $r->content_type('application/rss+xml'); # create an RSS 1.0 file (http://purl.org/rss/1.0/) use XML::RSS; - my $rss = new XML::RSS (version => '1.0'); + my $rss = XML::RSS->new(version => '1.0'); $rss->channel( title => RT->Config->Get('rtname').": Search " . $ARGS{'Query'}, link => RT->Config->Get('WebURL'),