Fix: broken feature
This commit is contained in:
parent
131dd663cb
commit
f0361b9c4c
@ -2482,7 +2482,7 @@ abstract class CommonObject
|
||||
$parameters=array();
|
||||
$reshook=$hookmanager->executeHooks('showLinkedObjectBlock',$parameters,$this,$action); // Note that $action and $object may have been modified by hook
|
||||
|
||||
if (! $reshook)
|
||||
if (empty($hookmanager->resPrint))
|
||||
{
|
||||
$num = count($this->linkedObjects);
|
||||
|
||||
|
||||
@ -41,6 +41,8 @@ class HookManager
|
||||
|
||||
// Array result
|
||||
var $resArray=array();
|
||||
// Printable result (int, string)
|
||||
var $resPrint;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
Loading…
Reference in New Issue
Block a user