BUG 7646 "Condition Editing option for steps is not working" SOLVED

- You can not attach files in inputDocuments
- Was added a condition to affect only to the translations
This commit is contained in:
Victor Saisa Lopez
2012-03-14 15:54:51 -04:00
parent d0b22ac1ad
commit 218fc12054

View File

@@ -1908,11 +1908,14 @@ $output = $outputHeader.$output;
}
//Call function
if (($match[1][$r][0]==='')&&($match[2][$r][0]==='')&&($match[3][$r][0]!=='')) {
eval('$strAux = ' . $match[3][$r][0] . '(\'' . addcslashes(G::replaceDataField(stripslashes($match[4][$r][0]),$result),'\\\'') . '\');');
if ($match[3][$r][0] == "G::LoadTranslation") {
$arraySearch = array("'");
$arrayReplace = array("\\'");
eval('$strAux = '.$match[3][$r][0].'(\''.addcslashes(G::replaceDataField(stripslashes($match[4][$r][0]),$result),'\\\'').'\');');
$strAux = str_replace($arraySearch, $arrayReplace, $strAux);
}
$__textoEval .= $strAux; continue;
}