mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Update functions2.lib.php
This commit is contained in:
committed by
GitHub
parent
45c0b74649
commit
6f77df331c
@@ -416,7 +416,7 @@ function dol_print_object_info($object, $usetable = 0)
|
|||||||
} else {
|
} else {
|
||||||
print ': ';
|
print ': ';
|
||||||
}
|
}
|
||||||
if (!empty($object->user_approve)) {
|
if (!empty($object->user_approve) && is_object($object->user_approve)) {
|
||||||
if ($object->user_approve->id) {
|
if ($object->user_approve->id) {
|
||||||
print $object->user_approve->getNomUrl(-1, '', 0, 0, 0);
|
print $object->user_approve->getNomUrl(-1, '', 0, 0, 0);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user