Merged in bugfix/HOR-1043 (pull request #5634)
HOR-1043 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
78807c2249
@@ -2331,7 +2331,9 @@ class Cases
|
||||
$rs->next();
|
||||
$row = $rs->getRow();
|
||||
$iLastStep = intval($row[0]);
|
||||
|
||||
if ($iPosition > $iLastStep) {
|
||||
throw (new Exception(G::LoadTranslation('ID_STEP_DOES_NOT_EXIST', array(G::LoadTranslation('ID_POSITION'), $iPosition))));
|
||||
}
|
||||
$iPosition += 1;
|
||||
$aNextStep = null;
|
||||
if ($iPosition <= $iLastStep) {
|
||||
|
||||
Reference in New Issue
Block a user