This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-01-10 11:03:07 -04:00
parent c8fb6764c5
commit 667a67c762
2 changed files with 2 additions and 2 deletions

View File

@@ -315,7 +315,7 @@ class Calendar extends CalendarDefinition
* @param string(32) $proUid
* @param string(32) $tasUid
*/
function Calendar ($userUid = NULL, $proUid = NULL, $tasUid = NULL)
function __construct($userUid = NULL, $proUid = NULL, $tasUid = NULL)
{
$this->userUid = $userUid;
$this->proUid = $proUid;

View File

@@ -304,7 +304,7 @@ class PMScript
public function executeAndCatchErrors($sScript, $sCode)
{
ob_start('handleFatalErrors');
set_error_handler('handleErrors');
set_error_handler('handleErrors', ini_get('error_reporting'));
$_SESSION['_CODE_'] = $sCode;
$_SESSION['_DATA_TRIGGER_'] = $this->dataTrigger;
$_SESSION['_DATA_TRIGGER_']['_EXECUTION_TIME_'] = microtime(true);