PMC-338
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user