This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-02-14 09:35:46 -04:00
parent 9d10a02fab
commit 99540c4de0
3 changed files with 20 additions and 5 deletions

View File

@@ -498,7 +498,7 @@ if ($action == "uploadFileNewProcess") {
$affectedGroups = implode(', ', $affectedGroups);
}
}
$result->affectedGroups = $affectedGroups;
$result->affectedGroups = empty($affectedGroups) ? "" : $affectedGroups;
//Add Audit Log
$process = new Process();
@@ -641,7 +641,7 @@ if ($action == "uploadFileNewProcessExist") {
$affectedGroups = implode(', ', $affectedGroups);
}
}
$result->affectedGroups = $affectedGroups;
$result->affectedGroups = empty($affectedGroups) ? "" : $affectedGroups;
//!data ouput
} catch (Exception $e) {