mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 22:39:00 +01:00
fix PHP Fatal error: Cannot redeclare auth_type(), happening only if there is a validation error in setup >> configuration
This commit is contained in:
parent
36c55f1025
commit
183efe1f0d
@ -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']);
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user