Update ajaxtooltip.php

This commit is contained in:
Frédéric FRANCE 2023-04-26 10:58:19 +02:00 committed by GitHub
parent a93cb8b572
commit cf9ce353c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,7 @@ $html = '';
if (is_object($object)) {
if ($object->id > 0 || !empty($object->ref)) {
/** @var CommonObject $object */
$html = $object->getTooltipContent($params);
} elseif ($res == 0) {
$html = $langs->trans('Deleted');