diff --git a/config/current.ver b/config/current.ver index a96f385..21344eb 100644 --- a/config/current.ver +++ b/config/current.ver @@ -1 +1 @@ -1.2.16 \ No newline at end of file +1.2.17 \ No newline at end of file diff --git a/debug/current.ver b/debug/current.ver new file mode 100644 index 0000000..21344eb --- /dev/null +++ b/debug/current.ver @@ -0,0 +1 @@ +1.2.17 \ No newline at end of file diff --git a/src/ApiKernel.php b/src/ApiKernel.php index c8049c1..36d8e20 100644 --- a/src/ApiKernel.php +++ b/src/ApiKernel.php @@ -2206,6 +2206,12 @@ class ApiKernel private function handleTemplateReferences(): void { + @file_put_contents(sys_get_temp_dir() . '/emailtemplate_debug.log', json_encode([ + 'time' => date(DATE_ATOM), + 'tag' => 'handleTemplateReferences', + 'input' => $this->in ?? null, + ], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\n", FILE_APPEND); + $auth = $this->requireAuth(); $customerId = (int)($auth['customer_id'] ?? 0); if ($customerId <= 0) {