Index: modules/simpletest/drupal_web_test_case.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/drupal_web_test_case.php,v
retrieving revision 1.60
diff -u -9 -p -r1.60 drupal_web_test_case.php
--- modules/simpletest/drupal_web_test_case.php	25 Nov 2008 13:16:39 -0000	1.60
+++ modules/simpletest/drupal_web_test_case.php	25 Nov 2008 15:27:45 -0000
@@ -1524,19 +1524,19 @@ class DrupalWebTestCase {
             }
             else {
               // No item selected so use first item.
               $items = $this->getAllOptions($field);
               if (!empty($items) && $items[0]['value'] == $value) {
                 $found = TRUE;
               }
             }
           }
-          elseif (isset($field[0]) && $field[0] == $value) {
+          elseif ($field == $value) {
             // Text area with correct text.
             $found = TRUE;
           }
         }
       }
     }
     return $this->assertTrue($fields && $found, $message, $group);
   }
 
