From 66a943cfd8f35cc55f15168d586a9b71c076ab7b Mon Sep 17 00:00:00 2001
From: Senky <jakubsenko@gmail.com>
Date: Wed, 8 Aug 2012 13:35:34 +0200
Subject: [ticket/11010] adding new input types into build_cfg_template()

PHPBB3-11010
---
 phpBB/includes/functions_acp.php | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'phpBB/includes')

diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php
index d6bd9e35dd..f4e9613d3b 100644
--- a/phpBB/includes/functions_acp.php
+++ b/phpBB/includes/functions_acp.php
@@ -249,6 +249,8 @@ function build_cfg_template($tpl_type, $key, &$new, $config_key, $vars)
 	{
 		case 'text':
 		case 'password':
+		case 'url':
+		case 'email':
 			$size = (int) $tpl_type[1];
 			$maxlength = (int) $tpl_type[2];
 
-- 
cgit v1.2.1