Duplicate product declation

Once is enough
This commit is contained in:
BENKE Charlie 2016-10-06 08:36:21 +02:00 committed by GitHub
parent db3e3642b0
commit 272b16fe1a

View File

@ -80,7 +80,6 @@ $extrafields = new ExtraFields($db);
// fetch optionals attributes and labels
$extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
$object = new Product($db);
if ($id > 0 || ! empty($ref))
{
$result = $object->fetch($id, $ref);