change to methods

This commit is contained in:
Ronald Q
2016-08-11 12:54:48 -04:00
parent 37cae26d3a
commit 880c0f0c8b
2 changed files with 6 additions and 1 deletions

View File

@@ -804,7 +804,7 @@ try {
'APP_UID' => $_SESSION['APPLICATION'],
'DEL_INDEX' => $_SESSION['INDEX']
);
$aFields['TASK'] = $oRoute->postSanity($oRoute->prepareInformation($arrayData));
$aFields['TASK'] = $oRoute->prepareRoutingScreen($arrayData);
if (empty( $aFields['TASK'] )) {
throw (new Exception( G::LoadTranslation( 'ID_NO_DERIVATION_RULE' ) ));

View File

@@ -38,4 +38,9 @@ class RoutingScreen extends \Derivation
return $aDataMerged;
}
public function prepareRoutingScreen($arrayData)
{
return $this->postSanity($this->prepareInformation($arrayData));
}
}