Plugin Directory

Changeset 2980974


Ignore:
Timestamp:
10/19/2023 03:43:44 AM (2 years ago)
Author:
ksherdev
Message:

fixed error syntax

Location:
ksher-payment/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ksher-payment/trunk/ksher.php

    r2685751 r2980974  
    44    * Plugin URI:  https://www.ksher.com
    55    * Description: Ksher Gateway Plugin is a WordPress plugin designed specifically for WooCommerce. The plugin adds support for Ksher Payment Gateway payment method to WooCommerce.
    6     * Version:     1.0.11
     6    * Version:     1.0.12
    77    * Author:      Ksher
    88    * Text Domain: ksher
  • ksher-payment/trunk/payment/set-payment.php

    r2685751 r2980974  
    477477                    $channel_instal_times_list = new stdClass();
    478478
    479                     if ($this->ktc_instal == 'yes' && count($this->ktc_installment_period)) {
     479                    if ($this->ktc_instal == 'yes' && is_array($this->ktc_installment_period) && count($this->ktc_installment_period)) {
    480480                        $channel_instal_times_list->ktc_instal = array_map('intval', $this->ktc_installment_period);
    481481                    }
    482482
    483                     if ($this->kbank_instal == 'yes' && count($this->kbank_installment_period)) {
     483                    if ($this->kbank_instal == 'yes' && is_array($this->kbank_installment_period) && count($this->kbank_installment_period)) {
    484484                        $channel_instal_times_list->kbank_instal = array_map('intval', $this->kbank_installment_period);
    485485                    }
  • ksher-payment/trunk/readme.txt

    r2685751 r2980974  
    66Requires PHP: 7.0
    77WooCommerce up to: 5.0.0
    8 Stable tag: 1.0.11
     8Stable tag: 1.0.12
    99License: ksher
    1010
Note: See TracChangeset for help on using the changeset viewer.