Hi,
Also change the code:
foreach($item_keys as $k) {
if(is_string($itemField->$k) && strpos($itemField->$k, ',') !== false) {
$itemField->$k = explode(',', trim($itemField->$k, ','));
JArrayHelper::toInteger($itemField->$k);
} else if(!is_array($itemField->$k) && !empty($itemField->$k))
$itemField->$k = array( (int)$itemField->$k );
}
to:
foreach($item_keys as $k) {
if(is_string($itemField->$k) && strpos($itemField->$k, ',') !== false) {
$itemField->$k = explode(',', trim($itemField->$k, ','));
JArrayHelper::toInteger($itemField->$k);
} else if(!is_array($itemField->$k) && !empty($itemField->$k) && is_numeric($itemField->$k))
$itemField->$k = array( (int)$itemField->$k );
else
$itemField->$k = array();
}
in the same file and that should definitely fix the problem.