X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSearch%2FElements%2FSearchPrivacy;h=af4e4be0d0c9a50cf66453cc6547fe3a2c1633e6;hb=cbfeb5f6b7490f78361318ce6290bfb442dbfcbe;hp=dd7ef3b2fd0768e505c7485c02a8c6705ee9c2c2;hpb=919e930aa9279b3c5cd12b593889cd6de79d67bf;p=freeside.git diff --git a/rt/share/html/Search/Elements/SearchPrivacy b/rt/share/html/Search/Elements/SearchPrivacy index dd7ef3b2f..af4e4be0d 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-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 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 %>\