Fix: missing linked objects
This commit is contained in:
parent
9b37523062
commit
9ed7b9b370
@ -1641,7 +1641,7 @@ class CommonObject
|
|||||||
{
|
{
|
||||||
$tplpath = $element = $subelement = $objecttype;
|
$tplpath = $element = $subelement = $objecttype;
|
||||||
|
|
||||||
if (preg_match('/^([^_]+)_([^_]+)/i',$objecttype,$regs))
|
if ($objecttype != 'order_supplier' && $objecttype != 'invoice_supplier' && preg_match('/^([^_]+)_([^_]+)/i',$objecttype,$regs))
|
||||||
{
|
{
|
||||||
$element = $regs[1];
|
$element = $regs[1];
|
||||||
$subelement = $regs[2];
|
$subelement = $regs[2];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user