defect 4226: fix the issue that rvital cannot handle cec which has no parent att was set

This commit is contained in:
daniceexi 2014-07-30 04:16:25 -04:00
parent 113e7372fc
commit d13d0835c4

View File

@ -1237,7 +1237,7 @@ sub resolve {
#############################
# Find MTMS in vpd database
#############################
if ( exists( $att->{parent} )) {
if ( $att->{parent}) {
my @attrs = qw(mtm serial);
my ($vpd) = $tabs->{vpd}->getNodeAttribs($att->{parent},\@attrs);