HOR-4658
This commit is contained in:
@@ -1187,6 +1187,9 @@ class Applications
|
|||||||
case 'EXTERNAL':
|
case 'EXTERNAL':
|
||||||
$stepTitle = 'unknown ' . $caseStep->getStepUidObj();
|
$stepTitle = 'unknown ' . $caseStep->getStepUidObj();
|
||||||
$oPluginRegistry = PluginRegistry::loadSingleton();
|
$oPluginRegistry = PluginRegistry::loadSingleton();
|
||||||
|
if (empty($externalSteps[$caseStep->getStepUidObj()])) {
|
||||||
|
throw new Exception(G::LoadTranslation('ID_EXTERNAL_STEP_MISSING', SYS_LANG, ['plugin' => $stepTitle]));
|
||||||
|
}
|
||||||
$externalStep = $externalSteps[$caseStep->getStepUidObj()];
|
$externalStep = $externalSteps[$caseStep->getStepUidObj()];
|
||||||
$stepItem['id'] = $externalStep->getStepId();
|
$stepItem['id'] = $externalStep->getStepId();
|
||||||
$stepItem['title'] = $externalStep->getStepTitle();
|
$stepItem['title'] = $externalStep->getStepTitle();
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ if (isset($_GET['BROWSER_TIME_ZONE_OFFSET'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ChangeLog::getChangeLog()
|
ChangeLog::getChangeLog()
|
||||||
|
->getUsrIdByUsrUid($caseFieldsABE['CURRENT_USER_UID'], true)
|
||||||
->setSourceId(ChangeLog::FromABE);
|
->setSourceId(ChangeLog::FromABE);
|
||||||
|
|
||||||
$caseFieldsABE['CURRENT_DYNAFORM'] = '';
|
$caseFieldsABE['CURRENT_DYNAFORM'] = '';
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ if (PMLicensedFeatures::getSingleton()
|
|||||||
$casesFields['USER_UID'] = $casesFields['CURRENT_USER_UID'];
|
$casesFields['USER_UID'] = $casesFields['CURRENT_USER_UID'];
|
||||||
|
|
||||||
ChangeLog::getChangeLog()
|
ChangeLog::getChangeLog()
|
||||||
|
->getUsrIdByUsrUid($casesFields['USER_UID'], true)
|
||||||
->setSourceId(ChangeLog::FromABE);
|
->setSourceId(ChangeLog::FromABE);
|
||||||
|
|
||||||
//Update case info
|
//Update case info
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ class ChangeLog
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
foreach ($this->permissions as $type => $ids) {
|
foreach ($this->permissions as $type => $ids) {
|
||||||
if (array_search($uid, $ids) !== false) {
|
if (is_array($ids) && array_search($uid, $ids) !== false) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user