Handle radio->menu being hash or scalar - Line #1339
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e22e1c9b92
commit
5b10614e20
@ -1336,7 +1336,7 @@ sub readdecfg {
|
||||
##################################
|
||||
# Select radio button
|
||||
##################################
|
||||
my $value = %$_->{value};
|
||||
my $value = ( ref($_) eq 'HASH' ) ? %$_->{value} : $_;
|
||||
$radio->value( $value );
|
||||
|
||||
##################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user