mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 15:24:35 -04:00
Fix warning in dev mode (#2485)
This commit is contained in:
1 parent
0d3a33f1ba
commit
8bca8fab53
1 file changed
+5
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user