BUG 7444 Adjustment the type of variable definition.

This commit is contained in:
Hector Cortez
2011-08-16 16:01:51 -04:00
parent 29cebb5147
commit a9f216bdc9

View File

@@ -1646,10 +1646,13 @@ function setCaseTrackerCode($sApplicationUID, $sCode, $sPIN = '') {
* *
*/ */
function jumping ( $caseId, $delIndex ) { function jumping ( $caseId, $delIndex ) {
$x = $this->PMFDerivateCase($caseId, $delIndex); try {
if($x==0) $x = PMFDerivateCase($caseId, $delIndex);
if($x==0)
G::SendTemporalMessage('ID_NOT_DERIVATED', 'error', 'labels');
} catch (Exception $oException) {
G::SendTemporalMessage('ID_NOT_DERIVATED', 'error', 'labels'); G::SendTemporalMessage('ID_NOT_DERIVATED', 'error', 'labels');
}
G::header('Location: cases_List'); G::header('Location: cases_List');
} }
/** /**