From 9d5777e885224758dfb22437f0ab212a6ab3b893 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 30 Jun 2009 17:22:25 +0000 Subject: [PATCH] Do not list blank value. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3677 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 d2a870000..f5e658be1 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -2537,7 +2537,7 @@ sub defls { # don't print unless set - if (defined($attrval)) + if ( (defined($attrval)) && ($attrval ne '') ) { my $rsp; $rsp->{data}->[0] =