From b0223bc64869203652b3a1276c12d47a242661b5 Mon Sep 17 00:00:00 2001 From: Reedy Date: Thu, 27 Feb 2014 21:20:46 +0000 Subject: [PATCH] Fix number of parameters passed on recursive function call Error is from If4175332405d26c7ff2e8fbe100bcad61762ce6f Change-Id: I2deabd42462e4009118ff5578e4da95cab51107a --- includes/htmlform/HTMLFormField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1