diff --git a/html/inc/user_util.inc b/html/inc/user_util.inc index ec41c7d05b..a273561233 100644 --- a/html/inc/user_util.inc +++ b/html/inc/user_util.inc @@ -146,6 +146,7 @@ function make_user_ldap($email_addr, $name) { //show_hosts defaults to TRUE (1), but config option //'enable_privacy_by_default' will set the default to FALSE(0). + $default_show_hosts = 1; $config = get_config(); if (parse_bool($config, "enable_privacy_by_default")) { $default_show_hosts = 0;