* Setup: fixed fatal error "Cannot redeclare auth_type()", when there is a validation error on saving configuration

This commit is contained in:
Ralf Becker 2014-07-03 12:46:08 +00:00
parent e0b9fadfdd
commit d5cb4112b5
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ function sql_passwdhashes($config, $return_hashes=false, &$securest=null)
* @param array $config
* @return string
*/
function auth_type($config)
function auth_types($config)
{
return _options_from(setup_cmd_config::auth_types(),$config['auth_type']);
}

View File

@ -127,7 +127,7 @@
<td>{lang_Select_which_type_of_authentication_you_are_using}:</td>
<td>
<select name="newsettings[auth_type]">
{hook_auth_type}
{hook_auth_types}
</select>
</td>
</tr>