You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to extend form::add function for easier label assignment, but it is impossible to call Form::add($element, null, null), it produces "Array position does not exist" error.
I was trying to extend form::add function for easier label assignment, but it is impossible to call Form::add($element, null, null), it produces "Array position does not exist" error.
I think the problem may be in here https://github.com/phalcon/cphalcon/blob/1.3.0/ext/forms/form.c#L921, maybe pos being an object of null? Maybe the solution would be (!pos || Z_TYPE_P(pos) == IS_NULL) or something?
Using phalcon 1.3.0, but the same code is on master as well, so I think master is also affected.
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: