diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-05 18:40:17 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-05 18:40:17 +0000 |
commit | aa71f4abe49348762d1a7cefe1a7b7eb53fbe96f (patch) | |
tree | ced3ad30c875c2d646667fd0e233e2eb95d95152 /modules/simpletest/drupal_web_test_case.php | |
parent | a066c69b9c6bf4522278e1a79a47362276db1a42 (diff) | |
download | brdo-aa71f4abe49348762d1a7cefe1a7b7eb53fbe96f.tar.gz brdo-aa71f4abe49348762d1a7cefe1a7b7eb53fbe96f.tar.bz2 |
#947820 by boombatower: Fixed Form action URL is not obtained properly in SimpleTest
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 2 |
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 514694160..e572e43c9 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -1748,7 +1748,7 @@ class DrupalWebTestCase extends DrupalTestCase { $post = array(); $upload = array(); $submit_matches = $this->handleForm($post, $edit, $upload, $ajax ? NULL : $submit, $form); - $action = isset($form['action']) ? $this->getAbsoluteUrl($form['action']) : $this->getUrl(); + $action = isset($form['action']) ? $this->getAbsoluteUrl((string) $form['action']) : $this->getUrl(); if ($ajax) { $action = $this->getAbsoluteUrl(!empty($submit['path']) ? $submit['path'] : 'system/ajax'); // AJAX callbacks verify the triggering element if necessary, so while |