mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-03-14 21:42:52 +00:00
PHP 8.2 - Fix JsonRPCServerUtils.php warning
This commit is contained in:
parent
232ea23196
commit
f6166d3c1b
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ class JsonRPCServerUtils
|
|||
if ($table === 'users.') {
|
||||
$cond_arr[] = $table . "status='Active'";
|
||||
}
|
||||
$group = strtolower(trim($query_obj['group']));
|
||||
$queryObject = $query_obj['group'] ?? '';
|
||||
$group = strtolower(trim($queryObject));
|
||||
if ($group !== 'and' && $group !== 'or') {
|
||||
$group = 'and';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue