Fix PHP Fatal error: Uncaught TypeError: html::quote(): Argument #1 ($str) must be of type string, null given (#9957)

This commit is contained in:
Aleksander Machniak
2025-08-23 09:17:59 +02:00
parent c75f1b7e86
commit 05d39bc406

View File

@@ -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);
}