From 66bd60d7b50bc080e7fa1efe3fa69df2f9f185fe Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 8 Mar 2005 18:36:31 +0000 Subject: (get_function_value) fix getting value when it's 0 (#14364) --- perl-install/security/msec.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/security') 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 { -- cgit v1.2.1