HOR-2689 Removed instances of LoadSystem, LoadThirdParty
This commit is contained in:
committed by
davidcallizaya
parent
60efcf7ac7
commit
5d3a4c073f
@@ -45,12 +45,12 @@ if ($access != 1) {
|
||||
}
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$form = $_POST['form'];
|
||||
$form = $filter->xssFilterHard($form);
|
||||
|
||||
//$tasUid = $form['TASKS'];
|
||||
//$tasUid = $form['TASKS'];
|
||||
$tasUid = $form['TAS_PARENT'];
|
||||
$spSynchronous = $form['SP_SYNCHRONOUS'];
|
||||
|
||||
@@ -65,7 +65,7 @@ $oDataset = RoutePeer::doSelectRS( $oCriteria );
|
||||
$oDataset->setFetchmode( ResultSet::FETCHMODE_ASSOC );
|
||||
|
||||
$sw = 1;
|
||||
// if there are more step we're looking them and we're checking TAS_ASSIGN_TYPE field
|
||||
// if there are more step we're looking them and we're checking TAS_ASSIGN_TYPE field
|
||||
while ($oDataset->next() && $sw) {
|
||||
$aRow = $oDataset->getRow();
|
||||
|
||||
@@ -82,10 +82,10 @@ while ($oDataset->next() && $sw) {
|
||||
$sw = 0;
|
||||
|
||||
}
|
||||
///If there are at least one TAS_ASSIGN_TYPE field with MANUAL it returns 1
|
||||
///If there are at least one TAS_ASSIGN_TYPE field with MANUAL it returns 1
|
||||
if (! $sw)
|
||||
return print $spSynchronous;
|
||||
else
|
||||
return print '0';
|
||||
|
||||
|
||||
return print '0';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user