Class Pod – field method – name variable is empty string
-
Dear Support,
I am using the field method of Pod class in my code and I noticed that the method does some checks (is_object, is_array etc…) of the name parameter but the method does not check if the name variable passed to the function is an empty string.
I appreciate that the method also checks for empty string and in this case the method could return null or false like another use case.
I’m not an experienced PHP developer, so I hope I haven’t alerted you to nothing.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Class Pod – field method – name variable is empty string’ is closed to new replies.