1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11831] getAttribute was replaced with attr

PHPBB3-11831
This commit is contained in:
Nathan
2013-09-06 12:36:40 -05:00
parent b7eca27f2a
commit b17d15276f

View File

@@ -661,7 +661,7 @@ class phpbb_functional_test_case extends phpbb_test_case
$hidden_fields = array( $hidden_fields = array(
$crawler->filter('[type="hidden"]')->each(function ($node, $i) { $crawler->filter('[type="hidden"]')->each(function ($node, $i) {
return array('name' => $node->getAttribute('name'), 'value' => $node->getAttribute('value')); return array('name' => $node->attr('name'), 'value' => $node->attr('value'));
}), }),
); );