Support » Plugin: WP Support Plus Responsive Ticket System » The problem with comparing eMail addresses (WP Support Plus Email Pipe)

  • Hello fix it please:

    Plugin – WP Support Plus Email Pipe
    File – /wpsp_email_pipe/includes/cron/class-create-pipe-ticket.php

    Code from:

     if($agent_reply_status != '' && $user && $wpsupportplus->functions->is_staff($user) && $this->from_email != $ticket->guest_email){
                    $ticket_oprations->change_status($agent_reply_status, $this->ticket_id, $this->from_name, $this->from_email, $this->user_id);
                }
    
                if($customer_reply_status != '' && $this->from_email == $ticket->guest_email){
                    $ticket_oprations->change_status($customer_reply_status, $this->ticket_id, $this->from_name, $this->from_email, $this->user_id);
                }

    Code to:

     if($agent_reply_status != '' && $user && $wpsupportplus->functions->is_staff($user) && mb_strtolower($this->from_email) != mb_strtolower($ticket->guest_email)){
                    $ticket_oprations->change_status($agent_reply_status, $this->ticket_id, $this->from_name, $this->from_email, $this->user_id);
                     }
    
                if($customer_reply_status != '' && mb_strtolower($this->from_email) == mb_strtolower($ticket->guest_email)){
                    $ticket_oprations->change_status($customer_reply_status, $this->ticket_id, $this->from_name, $this->from_email, $this->user_id);
                     }

    Example: mainprovidec@yandex.ru and MainProvidec@yandex.ru

    This is the same email, written in different ways. And because of this, your plugin does not change the Ticket status. And after editing, everything will work fine.

Viewing 1 replies (of 1 total)
  • Hi,

    Thank you for reporting issue. This is under investigation with our R&D Team as a possible bug.
    If tests confirm this to be a bug, it will be listed for fixing in next version.

Viewing 1 replies (of 1 total)
  • The topic ‘The problem with comparing eMail addresses (WP Support Plus Email Pipe)’ is closed to new replies.