23 lines
759 B
PHP
Executable File
23 lines
759 B
PHP
Executable File
<?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 Processes();
|
|
$proFields = $infoProcess->serializeProcess($sValue['PRO_UID']);
|
|
$resultProcess = $infoProcess->saveSerializedProcess($proFields);
|
|
G::auditLog('CaseTrackers','Save Case Tracker Properties ('.$sValue['CT_MAP_TYPE'].') in Process "'.$resultProcess['PRO_TITLE'].'"');
|
|
|