Fix warning in dev mode (#2485)

This commit is contained in:
jekkos committed 2019-08-07 00:19:12 +02:00
1 parent 0d3a33f1ba
commit 8bca8fab53
1 file changed
+5 -2
+5 -2
View File
@@ -536,8 +536,11 @@ function get_item_kit_data_row($item_kit)
function parse_attribute_values($columns, $row) {
$attribute_values = array();
foreach($columns as $column) {
$attribute_value = explode('|', $row[$column]);
$attribute_values = array_merge($attribute_values, $attribute_value);
if (array_key_exists($column, $row))
{
$attribute_value = explode('|', $row[$column]);
$attribute_values = array_merge($attribute_values, $attribute_value);
}
}
return $attribute_values;
}