Commit 0f99a1fb authored by Dries's avatar Dries

- Patch #346529 by Dave Reid: fixed bug in assertFieldByXPath.

parent fee3ce30
......@@ -1754,7 +1754,7 @@ protected function assertFieldByXPath($xpath, $value, $message, $group = 'Other'
}
}
}
elseif (isset($field[0]) && $field[0] == $value) {
elseif ((string) $field == $value) {
// Text area with correct text.
$found = TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment