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:
@@ -1908,11 +1908,14 @@ $output = $outputHeader.$output;
|
|||||||
}
|
}
|
||||||
//Call function
|
//Call function
|
||||||
if (($match[1][$r][0]==='')&&($match[2][$r][0]==='')&&($match[3][$r][0]!=='')) {
|
if (($match[1][$r][0]==='')&&($match[2][$r][0]==='')&&($match[3][$r][0]!=='')) {
|
||||||
$arraySearch = array("'");
|
eval('$strAux = ' . $match[3][$r][0] . '(\'' . addcslashes(G::replaceDataField(stripslashes($match[4][$r][0]),$result),'\\\'') . '\');');
|
||||||
$arrayReplace = array("\\'");
|
|
||||||
|
|
||||||
eval('$strAux = '.$match[3][$r][0].'(\''.addcslashes(G::replaceDataField(stripslashes($match[4][$r][0]),$result),'\\\'').'\');');
|
if ($match[3][$r][0] == "G::LoadTranslation") {
|
||||||
$strAux = str_replace($arraySearch, $arrayReplace, $strAux);
|
$arraySearch = array("'");
|
||||||
|
$arrayReplace = array("\\'");
|
||||||
|
|
||||||
|
$strAux = str_replace($arraySearch, $arrayReplace, $strAux);
|
||||||
|
}
|
||||||
|
|
||||||
$__textoEval .= $strAux; continue;
|
$__textoEval .= $strAux; continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user