Fix unknown property
This commit is contained in:
parent
6829507372
commit
2e499c2d17
@ -144,10 +144,10 @@ function getEntity($element, $shared = 1, $currentobject = null)
|
|||||||
$reshook = $hookmanager->executeHooks('hookGetEntity', $parameters, $currentobject, $action); // Note that $action and $object may have been modified by some hooks
|
$reshook = $hookmanager->executeHooks('hookGetEntity', $parameters, $currentobject, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
if (is_numeric($reshook)) {
|
if (is_numeric($reshook)) {
|
||||||
if ($reshook == 0 && !empty($hookmanager->resprints)) {
|
if ($reshook == 0 && !empty($hookmanager->resPrint)) {
|
||||||
$out .= ','.$hookmanager->resprints; // add
|
$out .= ','.$hookmanager->resPrint; // add
|
||||||
} elseif ($reshook == 1) {
|
} elseif ($reshook == 1) {
|
||||||
$out = $hookmanager->resprints; // replace
|
$out = $hookmanager->resPrint; // replace
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user