BUG 7000 I added code to save the variables SOLVED

I added code to save the variables in trigger's error
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-11-19 10:42:39 -04:00
parent 44ca85c443
commit 622f1654a4

View File

@@ -167,6 +167,9 @@ class PMScript
public function executeAndCatchErrors ($sScript, $sCode)
{
G::LoadClass( 'case' );
$oCase = new Cases();
$oCase->updateCase($_SESSION['APPLICATION'], array('APP_DATA' => $this->aFields));
ob_start( 'handleFatalErrors' );
set_error_handler( 'handleErrors' );
$_SESSION['_CODE_'] = $sCode;