diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php
index bd12c3dd5c..8d5050d1bd 100644
--- a/phpBB/includes/functions_acp.php
+++ b/phpBB/includes/functions_acp.php
@@ -265,17 +265,17 @@ function build_cfg_template($tpl_type, $key, &$new, $config_key, $vars)
break;
case 'color':
- case 'date':
- case 'time':
case 'datetime':
case 'datetime-local':
case 'month':
- case 'range':
case 'week':
$tpl = '';
break;
+ case 'date':
+ case 'time':
case 'number':
+ case 'range':
$max = '';
$min = ( isset($tpl_type[1]) ) ? (int) $tpl_type[1] : false;
if ( isset($tpl_type[2]) )
@@ -283,7 +283,7 @@ function build_cfg_template($tpl_type, $key, &$new, $config_key, $vars)
$max = (int) $tpl_type[2];
}
- $tpl = '';
+ $tpl = '';
break;
case 'dimension':