CMXX - Bugfix equipments

This commit is contained in:
“VeLiTi”
2025-03-31 10:52:15 +02:00
parent 94cb6fadf4
commit f716511a5d
6 changed files with 111 additions and 102 deletions

View File

@@ -4,7 +4,6 @@ defined($security_key) or exit;
//------------------------------------------
// Equipments
//------------------------------------------
//Connect to DB
$pdo = dbConnect($dbname);
@@ -15,7 +14,7 @@ $partner = json_decode($partnerhierarchy);
if (empty($partner->soldto) || $partner->soldto == ''){$soldto_search = '%';} else {$soldto_search = '-%';}
//default whereclause
list($whereclause,$condition) = getWhereclause('',$permission,$partner,'get');
list($whereclause,$condition) = getWhereclause('equipment',$permission,$partner,'get');
//------------------------------------------
//NEW ARRAY