From bb1f45eb02bac603d67ac08cb674c4050a245c28 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 22:23:45 +0000 Subject: Refs #2598: Converted most $vars['url'] to elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7149 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/input/autocomplete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default/input/autocomplete.php') diff --git a/views/default/input/autocomplete.php b/views/default/input/autocomplete.php index 28e0cf6a7..67d01c0c7 100644 --- a/views/default/input/autocomplete.php +++ b/views/default/input/autocomplete.php @@ -32,7 +32,7 @@ $ac_url_params = http_build_query(array( 'match_on' => $vars['match_on'], 'match_owner' => $vars['match_owner'], )); -$ac_url = $vars['url'] . 'pg/autocomplete?' . $ac_url_params; +$ac_url = elgg_get_site_url() . 'pg/autocomplete?' . $ac_url_params; if (!isset($autocomplete_js_loaded)) { $autocomplete_js_loaded = false; @@ -49,7 +49,7 @@ if (!$autocomplete_js_loaded) { ?> - +