diff options
Diffstat (limited to 'lib/Travelynx/Model/Users.pm')
-rw-r--r-- | lib/Travelynx/Model/Users.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Model/Users.pm b/lib/Travelynx/Model/Users.pm index 061bb33..dc8c1a9 100644 --- a/lib/Travelynx/Model/Users.pm +++ b/lib/Travelynx/Model/Users.pm @@ -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; } |