Browse Source

! Something that got broken.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
562dea22b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Themes/default/Admin.template.php

+ 1 - 1
Themes/default/Admin.template.php

@@ -893,7 +893,7 @@ function template_show_settings()
 				else
 				{
 					// Figure out the exact type - use "number" for "float" and "int".
-					$type = in_array($config_var['type'], $txt_types) ? $config_var['type'] : ($config_var['type'] == 'int' || $config_var['type'] == 'float' ? 'number' : 'text');
+					$type = in_array($config_var['type'], $text_types) ? $config_var['type'] : ($config_var['type'] == 'int' || $config_var['type'] == 'float' ? 'number' : 'text');
 
 					echo '
 											<input type="', $type ,'"', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '" value="', $config_var['value'], '"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_text">';