defect 4226: fix the issue that rvital cannot handle cec which has no parent att was set
This commit is contained in:
parent
113e7372fc
commit
d13d0835c4
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user