Hi,
Thanks for the report.
In the file "administrator/components/com_hikamarket/classes/discount.php" please replace
foreach($formData['discount'] as $column => $value) {
hikamarket::secureField($column);
$discount->$column = strip_tags($value);
}
By
$nameboxes = array('discount_product_id','discount_category_id','discount_zone_id');
$safeHtmlFilter = JFilterInput::getInstance(null, null, 1, 1);
foreach($formData['discount'] as $column => $value) {
hikamarket::secureField($column);
if(in_array($column,$nameboxes)) {
if($column == 'discount_zone_id') {
$discount->$column = array();
foreach($value as $i => $v) {
$discount->{$column}[] = $safeHtmlFilter->clean(strip_tags($v), 'string');
}
} else {
JArrayHelper::toInteger($value);
}
$discount->$column = $value;
} else {
$discount->$column = $safeHtmlFilter->clean(strip_tags($value), 'string');
}
}
It should fix your issue.
That patch will be include in the next release.
regards,