Merged in bugfix/PMC-338 (pull request #6744)
PMC-338 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -315,7 +315,7 @@ class Calendar extends CalendarDefinition
|
|||||||
* @param string(32) $proUid
|
* @param string(32) $proUid
|
||||||
* @param string(32) $tasUid
|
* @param string(32) $tasUid
|
||||||
*/
|
*/
|
||||||
function Calendar ($userUid = NULL, $proUid = NULL, $tasUid = NULL)
|
function __construct($userUid = NULL, $proUid = NULL, $tasUid = NULL)
|
||||||
{
|
{
|
||||||
$this->userUid = $userUid;
|
$this->userUid = $userUid;
|
||||||
$this->proUid = $proUid;
|
$this->proUid = $proUid;
|
||||||
|
|||||||
@@ -304,7 +304,7 @@ class PMScript
|
|||||||
public function executeAndCatchErrors($sScript, $sCode)
|
public function executeAndCatchErrors($sScript, $sCode)
|
||||||
{
|
{
|
||||||
ob_start('handleFatalErrors');
|
ob_start('handleFatalErrors');
|
||||||
set_error_handler('handleErrors');
|
set_error_handler('handleErrors', ini_get('error_reporting'));
|
||||||
$_SESSION['_CODE_'] = $sCode;
|
$_SESSION['_CODE_'] = $sCode;
|
||||||
$_SESSION['_DATA_TRIGGER_'] = $this->dataTrigger;
|
$_SESSION['_DATA_TRIGGER_'] = $this->dataTrigger;
|
||||||
$_SESSION['_DATA_TRIGGER_']['_EXECUTION_TIME_'] = microtime(true);
|
$_SESSION['_DATA_TRIGGER_']['_EXECUTION_TIME_'] = microtime(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user