Do not use "Empty" to test meta_value or…
-
I think you should change the way you test if meta_value is empty or not… In the function
alm_get_meta_query
you useif(!empty($meta_key) && !empty($meta_value))
…
The problem is that “0” is seen as “empty” witht his function… Or I need to test the string “0” on my website…
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Do not use "Empty" to test meta_value or…’ is closed to new replies.