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