Support » Plugin: YOP Poll » in_array() expects parameter 2 to be array

Viewing 1 replies (of 1 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hello

    Edit models/poll_model.php and replace

    if( in_array( $vote_type, $this->vote_types ) ) {

    with

    if( $vote_type=='wordpress' || $vote_type=='anonymous' ) {

    Best
    YOP Team

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