GX-Bug #42828 » productInfoCombiIDFix.patch
src/product_info.php (revision ) | ||
---|---|---|
64 | 64 |
} |
65 | 65 |
elseif(isset($_GET['info'])) |
66 | 66 |
{ |
67 |
$t_explode_array = explode('x', $_GET['info']); |
|
68 |
if(isset($t_explode_array[1])) |
|
67 |
preg_match("/p\d+x(\d+)_/",$_GET['info'],$t_extract); |
|
68 |
|
|
69 |
if(isset($t_extract[1])) |
|
69 |
{ |
|
70 |
{ |
|
70 |
$t_combi_id = (int)$t_explode_array[1]; |
|
71 |
$t_combi_id = (int)$t_extract[1]; |
|
71 |
} |
|
72 |
} |
|
72 | 73 |
} |
73 | 74 |
$coo_product_info_view->setCombiId($t_combi_id); |
74 | 75 |
$coo_product_info_view->setCurrency($_SESSION['currency']); |