mirror of https://github.com/BOINC/boinc.git
web: add missing line, bug found by Scrutinizer.
This commit is contained in:
parent
b75020f027
commit
eae8e93bcd
|
@ -146,6 +146,7 @@ function make_user_ldap($email_addr, $name) {
|
||||||
|
|
||||||
//show_hosts defaults to TRUE (1), but config option
|
//show_hosts defaults to TRUE (1), but config option
|
||||||
//'enable_privacy_by_default' will set the default to FALSE(0).
|
//'enable_privacy_by_default' will set the default to FALSE(0).
|
||||||
|
$default_show_hosts = 1;
|
||||||
$config = get_config();
|
$config = get_config();
|
||||||
if (parse_bool($config, "enable_privacy_by_default")) {
|
if (parse_bool($config, "enable_privacy_by_default")) {
|
||||||
$default_show_hosts = 0;
|
$default_show_hosts = 0;
|
||||||
|
|
Loading…
Reference in New Issue