Users: use_external_services: correctly handle := 0
This commit is contained in:
parent
8bc32dd034
commit
c756f045b2
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ sub use_external_services {
|
|||
my $uid = $opt{uid};
|
||||
my $value = $opt{set};
|
||||
|
||||
if ($value) {
|
||||
if (defined $value) {
|
||||
if ( $value < 0 or $value > 3 ) {
|
||||
$value = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue