Welcome to CSCart-USA

Get the latest news, tips & tricks, addons, and help on CS-Cart. Sign up and become part of the community! It's free, quick and easy.

Member Login

Lost your password?

Not a member yet? Sign Up!

You are here: Home » Blog » Archives for blocks

Posts Tagged ‘blocks’

May
21

Blocks bugfix in 2.0.3

Posted by Tony | (0) Comment | Email This Post

CS-Cart has posted a bugfix for the blocks issue, where the blocks are not saving correctly after configuring them.

According to the fix you need to edit the following files:
/core/templater_plugins/modifier.to_json.php

Replace this code:

$is_list = ($akeys == range(0, sizeof($akeys) - 1));

with this code:

$diff = array_diff($akeys, range(0, sizeof($akeys) - 1));
        $is_list = empty($diff); 
Tags: , ,

Category : Bugfix
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • LinkedIn
  • Live
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Tumblr
  • YahooMyWeb
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5