From eae8e93bcdbb5992fee03b83e25f8d286c3b352a Mon Sep 17 00:00:00 2001 From: Shawn Kwang Date: Thu, 20 Sep 2018 12:40:40 -0500 Subject: [PATCH] web: add missing line, bug found by Scrutinizer. --- html/inc/user_util.inc | 1 + 1 file changed, 1 insertion(+) 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;