summaryrefslogtreecommitdiff
path: root/rt/share/html/Prefs/Search.html
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/Prefs/Search.html')
-rw-r--r--rt/share/html/Prefs/Search.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/share/html/Prefs/Search.html b/rt/share/html/Prefs/Search.html
index 42aa16bbf..9e62f68dd 100644
--- a/rt/share/html/Prefs/Search.html
+++ b/rt/share/html/Prefs/Search.html
@@ -2,7 +2,7 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@ -81,7 +81,7 @@ Abort('No search specified')
my $search = $class->new ($session{'CurrentUser'});
$search->LoadById ($id);
-$title .= loc ($search->Description, loc ('"N"'));
+$title .= loc (RT::SavedSearch->EscapeDescription($search->Description), loc ('"N"'));
my $user = $session{'CurrentUser'}->UserObj;
my $SearchArg = $user->Preferences($search, $search->Content);
$ARGS{Order} = (ref $ARGS{Order} ? join('|',grep {/\S/} @{$ARGS{Order}}) : $ARGS{Order});