Another small EPP fix.

This commit is contained in:
Pinga 2024-01-24 14:04:55 +02:00
parent fa869fef75
commit 6e8666ce81

View file

@ -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)) {