Add tablesUsed to RevisionStoreDbTest
[lhc/web/wiklou.git] / includes / htmlform / HTMLFormField.php
index e642c2c..9c301e6 100644 (file)
@@ -631,7 +631,7 @@ abstract class HTMLFormField {
 
                // the element could specify, that the label doesn't need to be added
                $label = $this->getLabel();
-               if ( $label ) {
+               if ( $label && $label !== ' ' ) {
                        $config['label'] = new OOUI\HtmlSnippet( $label );
                }