Skip to content

Commit 3fe91ec

Browse files
author
Marek Kilimajer
committed
sfBrowserBase - don't post unnamed submit fields
- coding standard fix
1 parent d807504 commit 3fe91ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/util/sfBrowserBase.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,8 @@ public function doClickElement(DOMElement $item, $arguments = array(), $options
779779
else if ('button' == $item->nodeName || ('input' == $item->nodeName && in_array($item->getAttribute('type'), array('submit', 'button', 'image'))))
780780
{
781781
// add the item's value to the arguments if name is provided
782-
if ($item->getAttribute('name')) {
782+
if ($item->getAttribute('name'))
783+
{
783784
$this->parseArgumentAsArray($item->getAttribute('name'), $item->getAttribute('value'), $arguments);
784785
}
785786

0 commit comments

Comments
 (0)