CMXX - Software update servicekit
This commit is contained in:
@@ -124,8 +124,19 @@ else {
|
||||
}
|
||||
|
||||
// IF PRODUCTCODE AND VERSION IS SEND ASSUME SOFTWARE REQUEST
|
||||
if (!isset($criterias['productrowid']) && isset($criterias['productcode']) && $criterias['productcode'] != '' && isset($criterias['version'])){
|
||||
if (!isset($criterias['productrowid']) && isset($criterias['productcode']) && $criterias['productcode'] != ''){
|
||||
|
||||
//default output
|
||||
$output = array(
|
||||
"productcode" => "",
|
||||
"version"=> "",
|
||||
"mandatory"=> "",
|
||||
"latest"=> "",
|
||||
"software"=> "",
|
||||
"source" => "",
|
||||
"source_type" => "",
|
||||
);
|
||||
|
||||
//CHECK IF VERSION IS LATEST
|
||||
$latest_check = 0;
|
||||
foreach ($messages as $message){
|
||||
|
||||
Reference in New Issue
Block a user