wrong position of counter reset
extrafields will work now ;) and not the first product gets the last extrafields values
This commit is contained in:
parent
61d7629ab1
commit
c007ea62a7
@ -1048,11 +1048,11 @@ function getProductsForCategory($authentication,$id,$lang='')
|
||||
$res = $db->query($sql);
|
||||
if ($res)
|
||||
{
|
||||
$iProduct = 0;
|
||||
while ($rec = $db->fetch_array($res))
|
||||
{
|
||||
$obj = new Product($db);
|
||||
$obj->fetch($rec['fk_'.$field]);
|
||||
$iProduct = 0;
|
||||
if($obj->status > 0 )
|
||||
{
|
||||
$dir = (!empty($conf->product->dir_output)?$conf->product->dir_output:$conf->service->dir_output);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user