X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSearch%2FElements%2FSearchPrivacy;h=f6a2833debba5f4801a9492af3a727eb19e8adc5;hp=f36c1c8940d923df8710dd70f370bace622fc58e;hb=187086c479a09629b7d180eec513fb7657f4e291;hpb=85e677b86fc37c54e6de2b06340351a28f5a5916 diff --git a/rt/share/html/Search/Elements/SearchPrivacy b/rt/share/html/Search/Elements/SearchPrivacy index f36c1c894..f6a2833de 100644 --- a/rt/share/html/Search/Elements/SearchPrivacy +++ b/rt/share/html/Search/Elements/SearchPrivacy @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -53,9 +53,9 @@ my $label; if (ref($Object) eq 'RT::User') { $label = $Object->id == $session{'CurrentUser'}->Id ? loc("My saved searches") - : loc("[_1]'s saved searches", $m->scomp('/Elements/ShowUser', User => $Object)); + : loc("[_1]'s saved searches", $Object->Format); } else { - $label = loc("[_1]'s saved searches", $m->interp->apply_escapes($Object->Name, 'h')); + $label = loc("[_1]'s saved searches", $Object->Name); } -<% $label |n %>\ +<% $label %>\