Plugin Directory

Changeset 2891308


Ignore:
Timestamp:
03/31/2023 01:34:53 PM (3 years ago)
Author:
codeclouds
Message:

Enhacement - Optimized warning error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unify/trunk/Actions/OrderConfirmation.php

    r2891251 r2891308  
    2727
    2828        if (!is_admin()) {
    29             if (isset($available_gateways['codeclouds_unify_paypal_payment']) && !array_search($crm_conection_name,['limelight','sublytics'])) {
     29            if (isset($available_gateways['codeclouds_unify_paypal_payment']) && !in_array($crm_conection_name,['limelight','sublytics'])) {
    3030                unset($available_gateways['codeclouds_unify_paypal_payment']);
    3131            }
Note: See TracChangeset for help on using the changeset viewer.