Don't cast `$row['post_visibility']` to int. Just use `==` instead