forked from Wavyzz/dolibarr
CHANGE: ternary simplification (#34675)
This commit is contained in:
@@ -186,7 +186,7 @@ class Orders extends DolibarrApi
|
||||
$obj_ret = array();
|
||||
|
||||
// case of external user, $thirdparty_ids param is ignored and replaced by user's socid
|
||||
$socids = DolibarrApiAccess::$user->socid ? DolibarrApiAccess::$user->socid : $thirdparty_ids;
|
||||
$socids = DolibarrApiAccess::$user->socid ?: $thirdparty_ids;
|
||||
|
||||
// If the internal user must only see his customers, force searching by him
|
||||
$search_sale = 0;
|
||||
|
||||
Reference in New Issue
Block a user