Fix: Add missing argument to dol_print_error
# Fix: Add missing argument to dol_print_error Required argument was missing.
This commit is contained in:
parent
72649eb9c6
commit
ee398214c2
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ $result = restrictedArea($user, 'user', $id, 'user', $feature2);
|
|||
$object = new User($db);
|
||||
$result = $object->fetch($id);
|
||||
if ($result <= 0) {
|
||||
dol_print_error($object->error);
|
||||
dol_print_error($db, $object->error);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue