dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GitInfo: Don't try shelling out if it's disabled
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLFormFieldCloner.php
diff --git
a/includes/htmlform/fields/HTMLFormFieldCloner.php
b/includes/htmlform/fields/HTMLFormFieldCloner.php
index
6beb996
..
dec162f
100644
(file)
--- a/
includes/htmlform/fields/HTMLFormFieldCloner.php
+++ b/
includes/htmlform/fields/HTMLFormFieldCloner.php
@@
-296,7
+296,7
@@
class HTMLFormFieldCloner extends HTMLFormField {
$html .= $field->$getFieldHtmlMethod( $v );
$labelValue = trim( $field->getLabel() );
- if ( $labelValue !=
' '
&& $labelValue !== '' ) {
+ if ( $labelValue !=
"\u{00A0}"
&& $labelValue !== '' ) {
$hasLabel = true;
}
}