Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

ZF2-539 Input type of image should not have attribute value #2337

Merged
merged 1 commit into from

3 participants

@postalservice14

class Zend\Form\View\Helper\FormImage should not have "value" in validTagAttributes

@weierophinney weierophinney merged commit f95d32e into from
@weierophinney

Merged to release and master branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
1  library/Zend/Form/View/Helper/FormImage.php
@@ -39,7 +39,6 @@ class FormImage extends FormInput
'height' => true,
'src' => true,
'type' => true,
- 'value' => true,
'width' => true,
);
View
2  tests/ZendTest/Form/View/Helper/FormImageTest.php
@@ -92,7 +92,7 @@ public function validAttributes()
array('size', 'assertNotContains'),
array('src', 'assertContains'),
array('step', 'assertNotContains'),
- array('value', 'assertContains'),
+ array('value', 'assertNotContains'),
array('width', 'assertContains'),
);
}
Something went wrong with that request. Please try again.