Plugin Directory

Changeset 966279


Ignore:
Timestamp:
08/15/2014 10:22:55 AM (12 years ago)
Author:
orillacart
Message:

Add to cart bug fix.

Location:
orillacart/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orillacart/trunk/com_shop/helpers/cart.php

    r960856 r966279  
    288288       
    289289
    290         $k = count($_SESSION['cart'] > 0 ) ? max(array_keys($_SESSION['cart']))+1 : 0;
     290        $k = is_array($_SESSION['cart']) && count($_SESSION['cart']) > 0 ? max(array_keys($_SESSION['cart']))+1 : 0;
    291291       
    292292        $values = array();
  • orillacart/trunk/main.php

    r960856 r966279  
    33/*
    44  Plugin Name: OrillaCart
    5   Version: 1.2.5
     5  Version: 1.2.6
    66  Description: ecommerce solution for WordPress
    77  Plugin URI: http://orillacart.com
     
    1717define("ORILLA_FRAMEWORK_BASE",realpath(dirname(__FILE__)));
    1818define("ORILLA_FRAMEWORK_CORE",realpath(dirname(__FILE__).DS."core"));
    19 define("ORILLACART_VERSION","1.2.5");
     19define("ORILLACART_VERSION","1.2.6");
    2020
    2121define("ORILLA_FRAMEWORK_PUBLIC_KEY",realpath(dirname(__FILE__).DS."core".DS."public_key".DS."orillacart.pub"));
Note: See TracChangeset for help on using the changeset viewer.