summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 16:28:30 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 16:28:30 -0700
commitb4b638be44375c93f5222c7b48ed547845d6d7e5 (patch)
treea81bdf92946ae4e776bcb2d5f6357c08fa616080 /modules/search
parent0204617b602183a3e157bc7e23c617acd22a5212 (diff)
Undo url helper changes - url methods no longer return a SafeString.
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/helpers/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/helpers/search.php b/modules/search/helpers/search.php
index 355c4493..4be04039 100644
--- a/modules/search/helpers/search.php
+++ b/modules/search/helpers/search.php
@@ -58,7 +58,7 @@ class search_Core {
if ($remaining) {
site_status::warning(
t('Your search index needs to be updated. <a href="%url" class="gDialogLink">Fix this now</a>',
- array("url" => url::site("admin/maintenance/start/search_task::update_index?csrf=__CSRF__"))),
+ array("url" => SafeString::of_safe_html(url::site("admin/maintenance/start/search_task::update_index?csrf=__CSRF__")))),
"search_index_out_of_date");
}
}