Issue:
Change folder permissions in ProcessMaker
Cause:
Nuevo requerimiento
Solution:
Se cambio los permisos de los files and directories
29 lines
872 B
PHP
29 lines
872 B
PHP
<?php
|
|
if (isset( $_POST['form'] ))
|
|
$sValue = $_POST['form']; //For old processmap
|
|
else
|
|
$sValue = $_POST;
|
|
|
|
unset( $sValue['SAVE'] );
|
|
if (! isset( $sValue['CT_DERIVATION_HISTORY'] )) {
|
|
$sValue['CT_DERIVATION_HISTORY'] = 0;
|
|
}
|
|
if (! isset( $sValue['CT_MESSAGE_HISTORY'] )) {
|
|
$sValue['CT_MESSAGE_HISTORY'] = 0;
|
|
}
|
|
require_once 'classes/model/CaseTracker.php';
|
|
$oCaseTracker = new CaseTracker();
|
|
$oCaseTracker->update( $sValue );
|
|
|
|
$infoProcess = new Process();
|
|
$resultProcess = $infoProcess->load($sValue['PRO_UID']);
|
|
|
|
if($sValue['CT_DERIVATION_HISTORY'] == 1) {
|
|
$type[] = "Routing History";
|
|
}
|
|
if($sValue['CT_MESSAGE_HISTORY'] == 1) {
|
|
$type[] = "Messages History";
|
|
}
|
|
G::auditLog('CaseTrackers','Save Case Tracker Properties ('.$sValue['CT_MAP_TYPE'].' - '.implode(', ',$type).') in Process "'.$resultProcess['PRO_TITLE'].'"');
|
|
|