mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 07:14:33 -04:00
Fix bulk update with bootstrap-tables (#507)
This commit is contained in:
1 parent
9caed90aee
commit
c568c08595
1 file changed
+1
-1
@@ -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