Plugin Directory

Changeset 3007906


Ignore:
Timestamp:
12/11/2023 05:57:43 AM (2 years ago)
Author:
ascendedcrow
Message:

Changed to is_numeric

Location:
shop-2-api/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shop-2-api/trunk/includes/Tables/Wc2BolProductSettings.php

    r3007787 r3007906  
    143143            case 'increase_amount':
    144144                $saved_amount = $this->getSavedValue($item['bol_category'], $column_name);
    145                 if (is_int($saved_amount)) {
     145                if (is_numeric($saved_amount)) {
    146146                    $saved_value = round($saved_amount, 2);
    147147                } else {
  • shop-2-api/trunk/shop-2-api.php

    r3007787 r3007906  
    55Plugin URI: https://wordpress.org/plugins/shop-2-api/
    66Description: The plugin Shop2Api will sync products between e-Commerce platforms. The current supported e-Commerce platforms are WooCommerce to Bol.com, and we are working on Amazon, Shopify and others.  We added a koopblok service so that you can check if you lower your price can you get koopblok.
    7 Version: 1.0.29.0
     7Version: 1.0.29.1
    88Requires at least: 5.0
    99Requires PHP:      7.2
     
    3434define('SHOP2API_PLUGIN_URL', plugin_dir_url( __FILE__ ));
    3535define('SHOP2API_PLUGIN', plugin_basename( __FILE__ ));
    36 define ('VERSION', '1.0.29.0');
     36define ('VERSION', '1.0.29.1');
    3737
    3838// Register items in the project.
Note: See TracChangeset for help on using the changeset viewer.