Update functions2.lib.php

This commit is contained in:
This Charlène 2022-08-22 14:02:40 +02:00 committed by GitHub
parent 5ddd0c20ae
commit 45c0b74649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -416,7 +416,7 @@ function dol_print_object_info($object, $usetable = 0)
} else {
print ': ';
}
if (is_object($object->user_approve)) {
if (!empty($object->user_approve)) {
if ($object->user_approve->id) {
print $object->user_approve->getNomUrl(-1, '', 0, 0, 0);
} else {