X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FXml.php;h=b20f66ef1c0413b09dca529fa4cd23b65c1e058f;hb=bdf062a8e9f351d3b94f99f2cbe9f7176f0b8801;hp=eadc7d14de91948ebb77c04cfe6ec45fcd07785c;hpb=ecefa8f1082196cf27281bf9700b29798ad4364a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Xml.php b/includes/Xml.php index eadc7d14de..b20f66ef1c 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -532,8 +532,8 @@ class Xml { * * @param string $list Correctly formatted text (newline delimited) to be * used to generate the options. - * @param array $params Extra parameters - * @param string $params['other'] If set, add an option with this as text and a value of 'other' + * @param array $params Extra parameters: + * - string $params['other'] If set, add an option with this as text and a value of 'other' * @return array Array keys are textual labels, values are internal values */ public static function listDropDownOptions( $list, $params = [] ) { @@ -615,9 +615,9 @@ class Xml { if ( $content !== false ) { $s .= $content . "\n"; + $s .= self::closeElement( 'fieldset' ) . "\n"; } - $s .= self::closeElement( 'fieldset' ) . "\n"; return $s; }