Form Validation - returns "(Anonymous function)" |
Hey guys,
i migh've found some bug. In the docs there is a section called Callable use anything as a rule I've an object where i do the following PHP Code: $this->ci()->load->model('admin/person/Cppersonsave_model'); After that i ran the Validation like PHP Code: $this->ci()->form_validation->reset_validation(); an excerpt of the model function looks like PHP Code: if ($col->count() > 0) My model function get called correctly. But if i do that an error message appears (Anonymous function) i debugged the code and got the following information In line 687 in the Form_validation Library the variable callable is set to true. On Line 741 the $rule variable gets the callable value which is a boolean and therefore true. This leads to line 799 which exactly put my message out. Am i'm missing something here or is this a bug ? Thx in advance for your answers |
Messages In This Thread |
Form Validation - returns "(Anonymous function)" - by sintakonte - 03-13-2018, 06:57 AM
RE: Form Validation - returns "(Anonymous function)" - by jreklund - 03-13-2018, 07:54 AM
RE: Form Validation - returns "(Anonymous function)" - by ciadmin - 03-13-2018, 11:07 AM
RE: Form Validation - returns "(Anonymous function)" - by sintakonte - 03-14-2018, 01:37 AM
|