fix PHP Fatal error: Cannot redeclare auth_type(), happening only if there is a validation error in setup >> configuration

This commit is contained in:
Ralf Becker 2015-08-04 07:30:32 +00:00
parent 36c55f1025
commit 183efe1f0d
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ function mail_login_type($config)
* @param array $config
* @return string
*/
function auth_type_std($config)
function auth_types($config)
{
return _options_from(setup_cmd_config::auth_types(),$config['auth_type']);
}

View File

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