194 |
$attr->has_default ? $attr->default( $name ) : |
$attr->has_default ? $attr->default( $name ) : |
195 |
''; |
''; |
196 |
|
|
197 |
if ( ref($params_config) eq 'HASH' ) { |
if ( ref($params_config) eq 'HASH' && defined $params_config->{$name} ) { |
198 |
$value = $params_config->{$name}; |
$value = $params_config->{$name}; |
199 |
} elsif ( ref($params_config) eq 'ARRAY' ) { |
} elsif ( ref($params_config) eq 'ARRAY' ) { |
200 |
$value_html = select_values( $name, $attr_type, $params_config ); |
$value_html = select_values( $name, $attr_type, $params_config ); |