Error with CI 3.1.2 |
New error popping up when upgraded to CI 3.1.2.
Code: Error Number: 1064 This is the section of Transaction_model in question. Nothing in the model changed but somehow the insert_batch function is not working right with the latest update. Any ideas? Code: $this->load->model('parts_model');
I think I came across the same issue with update_batch. See https://github.com/bcit-ci/CodeIgniter/issues/4892
(11-14-2016, 04:27 PM)ajdunn Wrote: I think I came across the same issue with update_batch. See https://github.com/bcit-ci/CodeIgniter/issues/4892 Hey THANK YOU! Made this change and it fixed the problem. Not sure if there are any other repercussions of this but I'm going to fly with it for now. For anyone else that runs across this: system > database > DB_query_builder line 1918 change Code: if ($this->query($this->_update_batch($this->protect_identifiers($table, TRUE, NULL, FALSE), array_slice($this->qb_set, $i, $batch_size), $index))) to Code: if ($this->query($this->_update_batch($this->protect_identifiers($table, TRUE, NULL, FALSE), array_slice($this->qb_set, $i, $batch_size), $this->protect_identifiers($index)))) |
Welcome Guest, Not a member yet? Register Sign In |