From: Jeroen De Dauw Date: Wed, 7 Mar 2012 19:07:40 +0000 (+0000) Subject: Follow up to r113142; fix incorrect conversion to array (value can be array already) X-Git-Tag: 1.31.0-rc.0~24347 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=1b0a666ed45b9331c269eafca7b8acfc8368d5c1;p=lhc%2Fweb%2Fwiklou.git Follow up to r113142; fix incorrect conversion to array (value can be array already) --- diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index e896c01332..3b3e1b692d 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -1087,7 +1087,7 @@ abstract class HTMLFormField { $helptext = null; if ( isset( $this->mParams['help-message'] ) ) { - $this->mParams['help-messages'] = (array)$this->mParams['help-message']; + $this->mParams['help-messages'] = array( $this->mParams['help-message'] ); } if ( isset( $this->mParams['help-messages'] ) ) {