Viewing 4 replies - 1 through 4 (of 4 total)
  • Just change line 165 to this:
    $checked = ( is_array($selected_roles) && in_array( $role, $selected_roles ) ) ? 'checked="checked"' : '';

    Thread Starter Kunal

    (@kunalnagar)

    Yes I figured that out eventually. Thanks though!

    Plugin Author danielpataki

    (@danielpataki)

    Sorry about the lateness, I wasn’t getting notifications! I think this has now been resolved, if this is still an issue let me know!

    Daniel

    Hi, has anyone been able to make this plug in work? I mean, I change the role from the field I’ve created but the role doesn’t change… If anyone could help me please…
    Thankx

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘in_array() expects parameter 2 to be array’ is closed to new replies.