From 6e8666ce81c2feb07899253a4d06a52aba1c9be7 Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:04:55 +0200 Subject: [PATCH] Another small EPP fix. --- epp/src/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epp/src/helpers.php b/epp/src/helpers.php index a447386..36a6998 100644 --- a/epp/src/helpers.php +++ b/epp/src/helpers.php @@ -97,7 +97,7 @@ function sendGreeting($conn) { } function sendEppError($conn, $db, $code, $msg, $clTRID = "000", $trans = "0") { - if (!isset($clTRID)) { + if ($clTRID === "000") { $clTRID = 'client-not-provided-' . bin2hex(random_bytes(8)); } if (!isset($trans)) {