X-Git-Url: http://git.cyclocoop.org/%24image?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLTextField.php;h=b2e4f2a5596f9f9a995b43b1869fb386f2486929;hb=01e43982ae4b9a61ddfdbe92349eb309f1aaecdb;hp=1c5a43ddad41275784fc3006d24c242319a192a7;hpb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLTextField.php b/includes/htmlform/fields/HTMLTextField.php index 1c5a43ddad..b2e4f2a559 100644 --- a/includes/htmlform/fields/HTMLTextField.php +++ b/includes/htmlform/fields/HTMLTextField.php @@ -31,7 +31,7 @@ class HTMLTextField extends HTMLFormField { parent::__construct( $params ); if ( isset( $params['placeholder-message'] ) ) { - $this->mPlaceholder = $this->getMessage( $params['placeholder-message'] )->parse(); + $this->mPlaceholder = $this->getMessage( $params['placeholder-message'] )->text(); } elseif ( isset( $params['placeholder'] ) ) { $this->mPlaceholder = $params['placeholder']; }