Make sure the hasSubordinates attribute is defined before checking its

value.

FossilOrigin-Name: 812ad96eda973f40ffd403c5125a1a0b963afc93f573e0cf0d34df6629d16db9
This commit is contained in:
Mahlon E. Smith 2011-09-06 23:05:34 +00:00
parent 0f45e0d058
commit 4708fffff2

View file

@ -1513,7 +1513,8 @@ sub run_list
# if this entry is a container for other entries, append a # if this entry is a container for other entries, append a
# trailing slash. # trailing slash.
$dn .= '/' if ($e->get_value('hasSubordinates') eq 'TRUE'); $dn .= '/' if $e->get_value('hasSubordinates') &&
$e->get_value('hasSubordinates') eq 'TRUE';
# additional arguments/attributes were given; show their values # additional arguments/attributes were given; show their values
# #