diff --git a/modules/shared/webhook_throttle.php b/modules/shared/webhook_throttle.php index eb063a0..2407421 100644 --- a/modules/shared/webhook_throttle.php +++ b/modules/shared/webhook_throttle.php @@ -10,7 +10,7 @@ function throttle_webhook_channel(string $channel, int $minIntervalSeconds): voi $sanitizedChannel = preg_replace('/[^a-z0-9_-]+/i', '_', $channel) ?? 'default'; $lockPath = sys_get_temp_dir() . '/erp_naurua_webhook_throttle_' . $sanitizedChannel . '.lock'; - $handle = fopen($lockPath, 'c+'); + $handle = @fopen($lockPath, 'c+'); if ($handle === false) { return; }