up observations
This commit is contained in:
@@ -2331,8 +2331,8 @@ class Cases
|
|||||||
$rs->next();
|
$rs->next();
|
||||||
$row = $rs->getRow();
|
$row = $rs->getRow();
|
||||||
$iLastStep = intval($row[0]);
|
$iLastStep = intval($row[0]);
|
||||||
if($iPosition > $iLastStep) {
|
if ($iPosition > $iLastStep) {
|
||||||
throw (new Exception(G::LoadTranslation("ID_NO_RECORDS_FOUND")));
|
throw (new Exception(G::LoadTranslation('ID_STEP_DOES_NOT_EXIST', array(G::LoadTranslation('ID_POSITION'), $iPosition))));
|
||||||
}
|
}
|
||||||
$iPosition += 1;
|
$iPosition += 1;
|
||||||
$aNextStep = null;
|
$aNextStep = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user