diff options
author | David Rothstein <drothstein@gmail.com> | 2016-02-01 00:02:45 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2016-02-01 00:02:45 -0500 |
commit | 25512367f8b371c311454707f85e04776a528236 (patch) | |
tree | 82df82f2b093deb2e531ae4b034a6e8c505b4177 /modules/profile/profile.test | |
parent | e58060723aaade42413eab197eb43d00a9b7ec15 (diff) | |
download | brdo-25512367f8b371c311454707f85e04776a528236.tar.gz brdo-25512367f8b371c311454707f85e04776a528236.tar.bz2 |
Issue #2599326 by Blanca.Esqueda, David_Rothstein: Fix autocomplete functionality on servers that are not configured to automatically recognize index.php
Diffstat (limited to 'modules/profile/profile.test')
-rw-r--r-- | modules/profile/profile.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.test b/modules/profile/profile.test index 6cb07391e..189247143 100644 --- a/modules/profile/profile.test +++ b/modules/profile/profile.test @@ -342,7 +342,7 @@ class ProfileTestAutocomplete extends ProfileTestCase { // Autocomplete always uses non-clean URLs. $current_clean_url = isset($GLOBALS['conf']['clean_url']) ? $GLOBALS['conf']['clean_url'] : NULL; $GLOBALS['conf']['clean_url'] = 0; - $autocomplete_url = url('profile/autocomplete/' . $field['fid'], array('absolute' => TRUE)); + $autocomplete_url = url('profile/autocomplete/' . $field['fid'], array('absolute' => TRUE, 'script' => 'index.php')); $GLOBALS['conf']['clean_url'] = $current_clean_url; $autocomplete_id = drupal_html_id('edit-' . $field['form_name'] . '-autocomplete'); $autocomplete_html = '<input type="hidden" id="' . $autocomplete_id . '" value="' . $autocomplete_url . '" disabled="disabled" class="autocomplete" />'; |