CMXX - Update whereclause get/post

This commit is contained in:
“VeLiTi”
2025-02-21 17:48:51 +01:00
parent d5826fccdb
commit 8dd7023310
71 changed files with 91 additions and 83 deletions

View File

@@ -14,7 +14,7 @@ $post_content = json_decode(decode_payload($input),true);
if (empty($partner->soldto) || $partner->soldto == ''){$soldto_search = '%';} else {$soldto_search = '-%';}
//default whereclause to check if data is owned by user
list($whereclause,$condition) = getWhereclauselvl2('partners',$permission,$partner);
list($whereclause,$condition) = getWhereclauselvl2('partners',$permission,$partner,'');
//SET PARAMETERS FOR QUERY
$id = $post_content['partnerID'] ?? ''; //check for rowID