PMC-2
This commit is contained in:
@@ -29,7 +29,7 @@ foreach ($aTriggers as $aTrigger) {
|
||||
$triggersList[$i]['code'] = $geshi->parse_code(); //$aTrigger['TRIGGERS_VALUES'][$index]['TRI_WEBBOT'];
|
||||
|
||||
$triggerUid = $aTrigger['TRIGGERS_VALUES'][$index]['TRI_UID'];
|
||||
$triggersList[$i]['script_execution_time'] = $aTrigger['TRIGGERS_EXECUTION_TIME'][$triggerUid];
|
||||
$triggersList[$i]['script_execution_time'] = isset($aTrigger['TRIGGERS_EXECUTION_TIME'][$triggerUid]) ? $aTrigger['TRIGGERS_EXECUTION_TIME'][$triggerUid] : '';
|
||||
|
||||
$i ++;
|
||||
}
|
||||
@@ -58,14 +58,6 @@ foreach ($DEBUG_ERRORS as $error) {
|
||||
$i ++;
|
||||
}
|
||||
}
|
||||
|
||||
/*echo '{total:5, data:[
|
||||
{name:"trigger1", execution_time:"after"},
|
||||
{name:"trigger2", execution_time:"before"},
|
||||
{name:"trigger13", execution_time:"before"},
|
||||
]}';
|
||||
|
||||
*/
|
||||
$triggersRet = new StdClass();
|
||||
$triggersRet->total = count( $triggersList );
|
||||
$triggersRet->data = $triggersList;
|
||||
|
||||
@@ -81,8 +81,8 @@ switch ($request) {
|
||||
|
||||
$systemConstants = G::getSystemConstants();
|
||||
//Add missing items
|
||||
$systemConstants['PIN'] = $aVars['PIN'];
|
||||
$systemConstants['APP_NUMBER'] = $aVars['APP_NUMBER'];
|
||||
$systemConstants['PIN'] = isset($aVars['PIN']) ? $aVars['PIN'] : '';
|
||||
$systemConstants['APP_NUMBER'] = isset($aVars['APP_NUMBER']) ? $aVars['APP_NUMBER'] : '';
|
||||
//when a case with dynaform is started there are no changed variables, this event is validated
|
||||
if (isset($aVars['__VAR_CHANGED__'])) {
|
||||
$systemConstants['__VAR_CHANGED__'] = $aVars['__VAR_CHANGED__'];
|
||||
|
||||
Reference in New Issue
Block a user