CMXX - Bugfix equipments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user