BUG 13942 Mala generacion de output document Processmaker 2.5.2 SOLVED

- Los saltos de linea no estaban siendo parseados correctamente debido a un cambio previo en la version 2.5.2

- Se repuso y adapto parte del codigo que hacia el cambio de los saltos de linea
This commit is contained in:
Julio Cesar Laura
2014-01-22 09:59:52 -04:00
parent 979dd8b2ad
commit f3e7b7234d
2 changed files with 23 additions and 8 deletions

View File

@@ -477,7 +477,7 @@ class OutputDocument extends BaseOutputDocument
public function generate($sUID, $aFields, $sPath, $sFilename, $sContent, $sLandscape = false, $sTypeDocToGener = 'BOTH', $aProperties = array())
{
if (($sUID != '') && is_array($aFields) && ($sPath != '')) {
$sContent = nl2br(G::replaceDataGridField($sContent, $aFields));
$sContent = G::replaceDataGridField($sContent, $aFields);
G::verifyPath($sPath, true);