From 3020deb421edfc00f54f86f50b490b47f157204e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 10 Jun 2008 19:39:29 +0000 Subject: - Patch #266178 by boombatower: SimpleTest internal browser no longer handles element ids. --- modules/simpletest/drupal_web_test_case.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 3e0ae5e6f..4ee84d3fa 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -621,13 +621,14 @@ class DrupalWebTestCase extends UnitTestCase { $submit_matches = FALSE; foreach ($elements as $element) { // SimpleXML objects need string casting all the time. - $name = (string)$element['name']; + $name = (string) $element['name']; + $id = (string) $element['id']; // This can either be the type of or the name of the tag itself // for