fix: RegNPC 버그 수정, event handler 규격 버그 수정

This commit is contained in:
2021-03-19 18:09:53 +09:00
parent 7a939b7024
commit 911cb614a5
6 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ function logError(string $err, string $errstr, string $errpath, array $trace)
]);
}
function logErrorByCustomHandler(int $errno, string $errstr, string $errfile, int $errline, array $errcontext)
function logErrorByCustomHandler(int $errno, string $errstr, string $errfile, int $errline, array $errcontext=null)
{
if (!(error_reporting() & $errno)) {
// This error code is not included in error_reporting, so let it fall