No need to set tmpproduct properties because fetched.
This commit is contained in:
parent
251e0b1364
commit
4167cca051
@ -1233,9 +1233,6 @@ if ($id > 0 || !empty($ref)) {
|
|||||||
} else {
|
} else {
|
||||||
$tmpproduct = $conf->cache['product'][$objp->fk_product];
|
$tmpproduct = $conf->cache['product'][$objp->fk_product];
|
||||||
}
|
}
|
||||||
$tmpproduct->id = $objp->fk_product;
|
|
||||||
$tmpproduct->ref = $objp->ref;
|
|
||||||
$tmpproduct->label = $objp->label;
|
|
||||||
print $tmpproduct->getNomUrl(1);
|
print $tmpproduct->getNomUrl(1);
|
||||||
print ' - '.$objp->label;
|
print ' - '.$objp->label;
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user