defined($component_id)
|| ThrowCodeError("flag_type_component_nonexistent",
{ product => $::FORM{'product'},
- component => $::FORM{'component'} });
+ name => $::FORM{'component'} });
}
sub validateSortKey {
$comp_id = get_component_id($prod_id,
$::FORM{'component'});
$comp_id || ThrowCodeError("invalid_component",
- {component => $::FORM{'component'},
+ {name => $::FORM{'component'},
product => $::FORM{'product'}});
DoComma();
[% ELSIF error == "invalid_component" %]
[% title = "Invalid Component" %]
- The [% component FILTER html %] component doesn't exist in the
+ The [% name FILTER html %] component doesn't exist in the
[% product FILTER html %] product.
[% ELSIF error == "invalid_dimensions" %]
is invalid.
[% ELSIF error == "flag_type_component_nonexistent" %]
- The component <em>[% component FILTER html %]</em> does not exist
+ The component <em>[% name FILTER html %]</em> does not exist
in the product <em>[% product FILTER html %]</em>.
[% ELSIF error == "flag_type_component_without_product" %]