mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix #33048 warning
This commit is contained in:
parent
805d9a58ec
commit
f3eec99040
|
|
@ -52,7 +52,7 @@ if (empty($id) && empty($ref)) {
|
|||
$id = $user->id;
|
||||
}
|
||||
|
||||
$expand = $_COOKIE['virtualcard_expand'];
|
||||
$expand = empty($_COOKIE['virtualcard_expand']) ? '' : $_COOKIE['virtualcard_expand'];
|
||||
|
||||
$object = new User($db);
|
||||
if ($id > 0 || !empty($ref)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user