From 506fbb1390cf5cc7abb4bf88f7b291d4f5f6923e Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Thu, 28 Dec 2023 17:49:17 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- php/src_web/ext/CurlException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src_web/ext/CurlException.php b/php/src_web/ext/CurlException.php index f803a24..09fd4f1 100644 --- a/php/src_web/ext/CurlException.php +++ b/php/src_web/ext/CurlException.php @@ -6,8 +6,8 @@ use Throwable; class CurlException extends UserException { function __construct($ch, ?string $message=null, $code=0, ?Throwable $previous=null) { - $user_message = $message; if ($message === null) $message = "(unknown error)"; + $user_message = $message; $tech_message = null; if ($ch !== null) { $parts = [];