From 05d39bc40603828700f8ccf486ebe3cbf80d181c Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 23 Aug 2025 09:17:59 +0200 Subject: [PATCH] Fix PHP Fatal error: Uncaught TypeError: html::quote(): Argument #1 ($str) must be of type string, null given (#9957) --- program/include/rcmail_output_html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index b96482bec..963945a59 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -1650,7 +1650,7 @@ class rcmail_output_html extends rcmail_output $value = implode(', ', $value); } - return html::quote($value); + return html::quote((string) $value); case 'form': return $this->form_tag($attrib); }