aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_acp.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-11-08 13:11:16 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-11-08 13:11:16 +0100
commitc99386e1553170a898f292d0c0717a5c1fa8151b (patch)
tree393979fc1d88327734abd77775a5ce954857991a /phpBB/includes/functions_acp.php
parent685449bfe3d470adb6fe14867b3cfb820bcd135a (diff)
downloadforums-c99386e1553170a898f292d0c0717a5c1fa8151b.tar
forums-c99386e1553170a898f292d0c0717a5c1fa8151b.tar.gz
forums-c99386e1553170a898f292d0c0717a5c1fa8151b.tar.bz2
forums-c99386e1553170a898f292d0c0717a5c1fa8151b.tar.xz
forums-c99386e1553170a898f292d0c0717a5c1fa8151b.zip
[ticket/14272] Remove useless check
PHPBB3-14272
Diffstat (limited to 'phpBB/includes/functions_acp.php')
-rw-r--r--phpBB/includes/functions_acp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php
index 8d5050d1bd..7874696950 100644
--- a/phpBB/includes/functions_acp.php
+++ b/phpBB/includes/functions_acp.php
@@ -269,7 +269,7 @@ function build_cfg_template($tpl_type, $key, &$new, $config_key, $vars)
case 'datetime-local':
case 'month':
case 'week':
- $tpl = '<input id="' . $key . '" type="' . $tpl_type[0] . '" name="' . $name . '" value="' . $new[$config_key] . '"' . (($tpl_type[0] === 'password') ? ' autocomplete="off"' : '') . ' />';
+ $tpl = '<input id="' . $key . '" type="' . $tpl_type[0] . '" name="' . $name . '" value="' . $new[$config_key] . '" />';
break;
case 'date':