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