mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-06-13 01:59:56 -04:00
Correct Event trigger to send array, not nested array
Signed-off-by: objec <objecttothis@gmail.com>
This commit is contained in:
@@ -1100,7 +1100,7 @@ class Items extends Secure_Controller
|
||||
$db->transCommit();
|
||||
$this->attribute->deleteOrphanedValues();
|
||||
|
||||
Events::trigger('item_saved', [$itemIds]);
|
||||
Events::trigger('item_saved', $itemIds);
|
||||
|
||||
return $this->response->setJSON(['success' => true, 'message' => lang('Items.csv_import_success')]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user