This commit is contained in:
Julio Cesar Laura Avendaño
2016-11-23 10:21:43 -05:00
parent 7930418fa2
commit d9b2a8086f

View File

@@ -258,6 +258,10 @@ class PMScript
}
eval( "if (!isset(\$this->aFields" . (isset( $aMatch[2][$i][0] ) ? "['" . $aMatch[2][$i][0] . "']" : '') . $aMatch[5][$i][0] . ")) { \$this->aFields" . (isset( $aMatch[2][$i][0] ) ? "['" . $aMatch[2][$i][0] . "']" : '') . $aMatch[5][$i][0] . " = null; }" );
}
} else {
if ($aMatch[1][$i][0] == "&") {
eval( "if (!isset(\$this->aFields['" . $aMatch[2][$i][0] . "'])) { \$this->aFields['" . $aMatch[2][$i][0] . "'] = new stdclass(); }" );
}
}
$sScript .= $sAux;
$iAux = $aMatch[0][$i][1] + strlen( $aMatch[0][$i][0] );