lib-php: fix inverted condition in read_user_plan_ldap