Merge pull request #2196 from marcoAntonioNina/BUG-12547

BUG-12547 Action by email template in the 2.5 version of ProcessMaker SOLVED
This commit is contained in:
julceslauhub
2013-12-11 12:05:34 -08:00
2 changed files with 1 additions and 13 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 = G::replaceDataGridField($sContent, $aFields);
$sContent = nl2br(G::replaceDataGridField($sContent, $aFields));
G::verifyPath($sPath, true);