X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLFormFieldWithButton.php;h=716a0920f3c090f8eac10bfec859dfd7b5893065;hb=2f1e5a8d22d7c005e72f8bdb732e6d7076ac3344;hp=bcb07bd1c2e6f58f7fff6d7e38804f2ccb434e45;hpb=500889f19005b4aed93c5b6eaafd35689fce7dcd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLFormFieldWithButton.php b/includes/htmlform/fields/HTMLFormFieldWithButton.php index bcb07bd1c2..716a0920f3 100644 --- a/includes/htmlform/fields/HTMLFormFieldWithButton.php +++ b/includes/htmlform/fields/HTMLFormFieldWithButton.php @@ -6,7 +6,7 @@ class HTMLFormFieldWithButton extends HTMLFormField { /** @var string $mButtonClass CSS class for the button in this field */ protected $mButtonClass = ''; - /** @var string|integer $mButtonId Element ID for the button in this field */ + /** @var string|int $mButtonId Element ID for the button in this field */ protected $mButtonId = ''; /** @var string $mButtonName Name the button in this field */ @@ -70,6 +70,6 @@ class HTMLFormFieldWithButton extends HTMLFormField { * @return String */ public function getElement( $element ) { - return $element . ' ' . $this->getInputHTML( '' ); + return $element . "\u{00A0}" . $this->getInputHTML( '' ); } }