Model basic CRUD methods and other queries on other tables using $this->db->table() |
(02-21-2023, 10:22 PM)kenjis Wrote:Quote:To help protect against Mass Assignment Attacks, the Model class requires that you list all of the field names that can be changed during inserts and updates in the $allowedFields class property. Another question, in the documentation in the "Upgrading From a Previous Version" section, there is no mention of version 4.3.2 which however is available from composer, is it just an oversight? (02-21-2023, 10:22 PM)kenjis Wrote:Quote:To help protect against Mass Assignment Attacks, the Model class requires that you list all of the field names that can be changed during inserts and updates in the $allowedFields class property. I fixed it, I thought I understood the problem, i.e. that the "start_date" and "end_date" fields weren't present in the $allowedFields array, but even adding them, I still have problems, what didn't I understand? |
Welcome Guest, Not a member yet? Register Sign In |