BUG 6357 this bug was fixed
This issue is happening, this is happening when you create a output document and go back to previous step or leave a case, it created a duplicates and it shows function ereg_replace() is deprecated. I have fixed these and it's working fine, however there are some deprecated errors which are into ..thirdparty/html2ps_pdf, then we are going to wait the solucion from html2ps_pdf
This commit is contained in:
@@ -1091,8 +1091,8 @@ function PMFGenerateOutputDocument($outputID) {
|
||||
$oOutputDocument = new OutputDocument();
|
||||
$aOD = $oOutputDocument->load($outputID);
|
||||
$Fields = $oCase->loadCase( $_SESSION['APPLICATION'] );
|
||||
|
||||
$sFilename = ereg_replace('[^A-Za-z0-9_]', '_', G::replaceDataField($aOD['OUT_DOC_FILENAME'], $Fields['APP_DATA']));
|
||||
$_GET['UID']=($aOD['OUT_DOC_VERSIONING'])?$_GET['UID']:$aOD['OUT_DOC_UID'];
|
||||
$sFilename = preg_replace('[^A-Za-z0-9_]', '_', G::replaceDataField($aOD['OUT_DOC_FILENAME'], $Fields['APP_DATA']));
|
||||
require_once 'classes/model/AppFolder.php';
|
||||
require_once 'classes/model/AppDocument.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user