daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- app/code/core/Mage/Checkout/Model/Cart/Product/Api/V2.php.orig      2011-08-29 10:54:05.000000000 -0400
  2. +++ app/code/core/Mage/Checkout/Model/Cart/Product/Api/V2.php   2011-10-07 16:24:57.000000000 -0400
  3. @@ -58,18 +58,17 @@
  4.                      $arr[$key] = $assocArr;
  5.                  }
  6.              }
  7. -            $arr = $this->_prepareData($arr);
  8. -            return parent::_prepareData($arr);
  9. +            return $this->_prepareProductsData($arr);
  10.          }
  11.          if (is_array($data)) {
  12.              foreach ($data as $key => $value) {
  13.                  if (is_object($value) || is_array($value)) {
  14. -                    $data[$key] = $this->_prepareData($value);
  15. +                    $data[$key] = $this->_prepareProductsData($value);
  16.                  } else {
  17.                      $data[$key] = $value;
  18.                  }
  19.              }
  20. -            return parent::_prepareData($data);
  21. +            return $data;
  22.          }
  23.          return $data;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top