From bcf8954fc3cc7a22bd8c974ddd3e7d034658096c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sun, 12 Oct 2008 15:04:48 +0000 Subject: [PATCH] -Fix problem where lsdef would not realize '0' is a valid value to display git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 825833df8..3eac6d2ec 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -2435,7 +2435,7 @@ sub defls { # don't print unless set - if ( $attrval && ($attrval ne " ")) + if ( (defined $attrval) && ($attrval ne " ")) { my $rsp; $rsp->{data}->[0] =