Update ajaxtooltip.php
This commit is contained in:
parent
a93cb8b572
commit
cf9ce353c3
@ -80,6 +80,7 @@ $html = '';
|
|||||||
|
|
||||||
if (is_object($object)) {
|
if (is_object($object)) {
|
||||||
if ($object->id > 0 || !empty($object->ref)) {
|
if ($object->id > 0 || !empty($object->ref)) {
|
||||||
|
/** @var CommonObject $object */
|
||||||
$html = $object->getTooltipContent($params);
|
$html = $object->getTooltipContent($params);
|
||||||
} elseif ($res == 0) {
|
} elseif ($res == 0) {
|
||||||
$html = $langs->trans('Deleted');
|
$html = $langs->trans('Deleted');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user