diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-08 18:36:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-08 18:36:31 +0000 |
commit | 66bd60d7b50bc080e7fa1efe3fa69df2f9f185fe (patch) | |
tree | fd6892e06db6fa9d18b2bbe4853875626a08a810 /perl-install | |
parent | 9f36e94ee065873b1b42637a6d332c39c9923451 (diff) | |
download | drakx-66bd60d7b50bc080e7fa1efe3fa69df2f9f185fe.tar drakx-66bd60d7b50bc080e7fa1efe3fa69df2f9f185fe.tar.gz drakx-66bd60d7b50bc080e7fa1efe3fa69df2f9f185fe.tar.bz2 drakx-66bd60d7b50bc080e7fa1efe3fa69df2f9f185fe.tar.xz drakx-66bd60d7b50bc080e7fa1efe3fa69df2f9f185fe.zip |
(get_function_value) fix getting value when it's 0 (#14364)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/security/msec.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/security/msec.pm b/perl-install/security/msec.pm index 35efe8462..4badf5614 100644 --- a/perl-install/security/msec.pm +++ b/perl-install/security/msec.pm @@ -60,7 +60,7 @@ sub load_values { sub get_function_value { my ($msec, $function) = @_; - $msec->{functions}{value}{$function} || "default"; + exists $msec->{functions}{value}{$function} ? $msec->{functions}{value}{$function} : "default"; } sub get_check_value { |