Fix bulk update with bootstrap-tables (#507)

This commit is contained in:
jekkos committed 2016-05-03 08:10:37 +02:00
1 parent 9caed90aee
commit c568c08595
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}