X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FDashboards%2FElements%2FSelectPrivacy;h=b0148a29f8a050550f6fae636bb4b078cf2f1ab1;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=523790bba23c7ec34898d7bee8eb420cce7b3a66;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6;p=freeside.git diff --git a/rt/share/html/Dashboards/Elements/SelectPrivacy b/rt/share/html/Dashboards/Elements/SelectPrivacy index 523790bba..b0148a29f 100644 --- a/rt/share/html/Dashboards/Elements/SelectPrivacy +++ b/rt/share/html/Dashboards/Elements/SelectPrivacy @@ -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) @@ -60,11 +60,11 @@ foreach my $object (@Objects) { if (ref($object) eq 'RT::User') { $label = $object->id == $session{'CurrentUser'}->Id ? loc("My dashboards") - : loc("[_1]'s dashboards", $m->scomp('/Elements/ShowUser', User => $object)); + : loc("[_1]'s dashboards", $object->Format); } else { - $label = loc("[_1]'s dashboards", $m->interp->apply_escapes($object->Name, 'h')); + $label = loc("[_1]'s dashboards", $object->Name); } - + % }