Skip to content

Commit 39600ea

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [ci] Get ICU/intl from github instead of nebm.ist.utl.pt/~glopes [Debug] Fix case sensitivity checks [Debug] Fix handling of php7 throwables fix high deps tests [Process] remove dead code [WebProfilerBundle] Add missing use statement. [ClassLoader] Fix storing not-found classes in APC cache [Form] cs fixes in date types [phpunit] disable prophecy
2 parents ca90a61 + 844fcee commit 39600ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Form/widget_attributes.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?php if ($disabled): ?> disabled="disabled"<?php endif ?>
33
<?php if ($required): ?> required="required"<?php endif ?>
44
<?php foreach ($attr as $k => $v): ?>
5-
<?php if ('readonly' === $k) { continue; } ?>
5+
<?php if ('readonly' === $k && $read_only): continue; endif ?>
66
<?php if (in_array($k, array('placeholder', 'title'), true)): ?>
77
<?php printf(' %s="%s"', $view->escape($k), $view->escape(false !== $translation_domain ? $view['translator']->trans($v, array(), $translation_domain) : $v)) ?>
88
<?php elseif ($v === true): ?>

0 commit comments

Comments
 (0)