Plugin Directory

Changeset 1728224


Ignore:
Timestamp:
09/11/2017 06:17:51 PM (8 years ago)
Author:
olarkplatform
Message:

1.0.8 fix undefined notice

Location:
olark-live-chat/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • olark-live-chat/trunk/README.txt

    r1725725 r1728224  
    3333== Changelog ==
    3434
     35= 1.0.8 =
     36Fixed an undefined index notice from a newly introduced setting
     37
    3538= 1.0.7 =
    3639Added a BETA CartSaver for WooCommerce
  • olark-live-chat/trunk/admin/partials/olark-wp-admin-display.php

    r1725725 r1728224  
    2929    $olark_site_ID = $options['olark_site_ID'];
    3030        $enable_olark = $options['enable_olark'];
    31         $enable_cartsaver = $options['enable_cartsaver'];
     31        $enable_cartsaver = (isset($options['enable_cartsaver']) && !empty($options['enable_cartsaver'])) ? 1 : 0;
    3232        $start_expanded = $options['start_expanded'];
    3333        $detached_chat = $options['detached_chat'];
  • olark-live-chat/trunk/olark-wp.php

    r1725725 r1728224  
    1717 * Plugin URI:        https://github.com/olark/wordpress-plugin/edit/master/olark-wp/
    1818 * Description:       This plugin is designed to allow you to add an Olark chatbox to your WordPress site easily! Simply activate and add your Site ID from Olark in the settings!
    19  * Version:           1.0.7
     19 * Version:           1.0.8
    2020 * Author:            Olark
    2121 * Author URI:        https://www.olark.com?rid=integration_plugin_wordpress
  • olark-live-chat/trunk/public/class-olark-wp-public.php

    r1725725 r1728224  
    124124                'woocommerce'           => $uses_woocommerce,
    125125                'woocommerce_version'       => $woocommerce_version,
    126                 'enable_cartsaver'  =>  $this->olark_options['enable_cartsaver']
     126                'enable_cartsaver'  =>  "0"
    127127            );
    128128
    129129
    130130            if (!empty($this->olark_options['enable_cartsaver']) && $uses_woocommerce) {
     131                $dataToBePassed['enable_cartsaver'] = '1';
    131132                $items = WC()->cart->get_cart();
    132133                $cart_total_formatted = $this->_format_price(WC()->cart->cart_contents_total);
Note: See TracChangeset for help on using the changeset viewer.