From: Reedy Date: Thu, 27 Feb 2014 21:20:46 +0000 (+0000) Subject: Fix number of parameters passed on recursive function call X-Git-Tag: 1.31.0-rc.0~16788^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=b0223bc64869203652b3a1276c12d47a242661b5;p=lhc%2Fweb%2Fwiklou.git Fix number of parameters passed on recursive function call Error is from If4175332405d26c7ff2e8fbe100bcad61762ce6f Change-Id: I2deabd42462e4009118ff5578e4da95cab51107a --- diff --git a/includes/htmlform/HTMLFormField.php b/includes/htmlform/HTMLFormField.php index 27d959401c..7be911ce9b 100644 --- a/includes/htmlform/HTMLFormField.php +++ b/includes/htmlform/HTMLFormField.php @@ -522,7 +522,7 @@ abstract class HTMLFormField { foreach ( $options as $key => $value ) { $key = $this->msg( $key )->plain(); $ret[$key] = is_array( $value ) - ? $this->lookupOptionsKeys($field, $value) + ? $this->lookupOptionsKeys( $value ) : strval( $value ); } return $ret;