I've narrowed it down to a single line of code.
In /includes/classes/shopping_cart.php version from 1.5.6c we have the following line at line number 1962
Code:
$real_ids = isset($_POST['id']) ? $_POST['id'] : array();
If I replace this line of code with the equivalent line from version 1.5.6b the shopping cart duplication issue is solved
Code:
$real_ids = isset($_POST['id']) ? $_POST['id'] : "";
Not being familiar with all the changes made to this code & seeing as you guys authored it, maybe that will shed some light onto this bug?
Bookmarks