mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-12 07:56:34 -04:00
Fix bulk update with bootstrap-tables (#507)
This commit is contained in:
@@ -237,7 +237,7 @@ class Item extends CI_Model
|
||||
*/
|
||||
public function update_multiple($item_data, $item_ids)
|
||||
{
|
||||
$this->db->where_in('item_id', $item_ids);
|
||||
$this->db->where_in('item_id', explode(',', $item_ids[0]));
|
||||
|
||||
return $this->db->update('items', $item_data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user