summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-07-02 19:20:58 +0000
committerDries Buytaert <dries@buytaert.net>2008-07-02 19:20:58 +0000
commit929b2c599c4337464941c5bc7e5a8293e31dc0b1 (patch)
tree8d1394396f1981b8f341b589bcb7870f619e0d02
parent31fbddc458a1054c026f0db651cc8a63639f71a9 (diff)
downloadbrdo-929b2c599c4337464941c5bc7e5a8293e31dc0b1.tar.gz
brdo-929b2c599c4337464941c5bc7e5a8293e31dc0b1.tar.bz2
- Patch #277621 by Damien Tournoud: drupalGet was not working correctly.
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index e942f698c..e7a0c0746 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -805,7 +805,7 @@ class DrupalWebTestCase {
// We re-using a CURL connection here. If that connection still has certain
// options set, it might change the GET into a POST. Make sure we clear out
// previous options.
- $out = $this->curlExec(array(CURLOPT_URL => url($path, $options), CURLOPT_POST => FALSE, CURLOPT_POSTFIELDS => array()));
+ $out = $this->curlExec(array(CURLOPT_HTTPGET => TRUE, CURLOPT_URL => url($path, $options)));
$this->refreshVariables(); // Ensure that any changes to variables in the other thread are picked up.
return $out;
}