Merge "Fix number of parameters passed on recursive function call"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 28 Feb 2014 16:30:34 +0000 (16:30 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 28 Feb 2014 16:30:34 +0000 (16:30 +0000)
includes/htmlform/HTMLFormField.php

index 3c4ecd0..e6d316c 100644 (file)
@@ -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;