From 3a00cb0c081efff55fd7b1c55c8990c8682e7b8d Mon Sep 17 00:00:00 2001 From: Mario Skouat Date: Sat, 23 Mar 2013 13:48:46 +0100 Subject: [PATCH] [ticket/10910] Allow setting size selects in build_cfg_template() PHPBB3-10910 --- phpBB/includes/functions_acp.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php index b9210114ef..ca116372ba 100644 --- a/phpBB/includes/functions_acp.php +++ b/phpBB/includes/functions_acp.php @@ -363,7 +363,9 @@ function build_cfg_template($tpl_type, $key, &$new, $config_key, $vars) if ($tpl_type[0] == 'select') { - $tpl = ''; + $size = (isset($tpl_type[1])) ? (int) $tpl_type[1] : 1; + + $tpl = ''; } else {