dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cb9da7
)
Add a line of explanation to Html::expandAttributes
author
Bartosz Dziewoński
<matma.rex@gmail.com>
Wed, 16 Oct 2013 15:42:07 +0000
(17:42 +0200)
committer
Bartosz Dziewoński
<matma.rex@gmail.com>
Wed, 16 Oct 2013 15:42:07 +0000
(17:42 +0200)
Change-Id: I7ad453638075a5e875c6c97df10690747c2488f0
includes/Html.php
patch
|
blob
|
history
diff --git
a/includes/Html.php
b/includes/Html.php
index
3fea3e1
..
932f753
100644
(file)
--- a/
includes/Html.php
+++ b/
includes/Html.php
@@
-422,6
+422,7
@@
class Html {
$ret = '';
$attribs = (array)$attribs;
foreach ( $attribs as $key => $value ) {
+ // Support intuitive array( 'checked' => true/false ) form
if ( $value === false || is_null( $value ) ) {
continue;
}