Fix: broken feature

This commit is contained in:
Regis Houssin 2013-01-22 16:53:39 +01:00
parent a9b0469f7d
commit 910543c5b9
2 changed files with 7 additions and 5 deletions

View File

@ -2479,7 +2479,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);

View File

@ -41,6 +41,8 @@ class HookManager
// Array result
var $resArray=array();
// Printable result (int, string)
var $resPrint;
/**
* Constructor