Merge pull request #1636 from julceslauhub/master
BUG 9933 another improvement evaluating conditions with grid values
This commit is contained in:
@@ -340,6 +340,8 @@ class PMScript
|
|||||||
} else {
|
} else {
|
||||||
if (!isset($this->aFields[$aMatch[2][$i][0]])) {
|
if (!isset($this->aFields[$aMatch[2][$i][0]])) {
|
||||||
eval("\$this->aFields['" . $aMatch[2][$i][0] . "']" . $aMatch[5][$i][0] . " = '';");
|
eval("\$this->aFields['" . $aMatch[2][$i][0] . "']" . $aMatch[5][$i][0] . " = '';");
|
||||||
|
} else {
|
||||||
|
eval("if (!isset(\$this->aFields['" . $aMatch[2][$i][0] . "']" . $aMatch[5][$i][0] . ")) {\$this->aFields['" . $aMatch[2][$i][0] . "']" . $aMatch[5][$i][0] . " = '';}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$sAux = substr( $this->sScript, $iAux, $aMatch[0][$i][1] - $iAux );
|
$sAux = substr( $this->sScript, $iAux, $aMatch[0][$i][1] - $iAux );
|
||||||
|
|||||||
Reference in New Issue
Block a user