MDL-81413 mod_chat: change options parameter to array

This commit is contained in:
Simey Lameze 2024-04-03 11:19:39 +08:00
parent 4da813d35e
commit f9c5c6f599

View file

@ -1025,9 +1025,10 @@ function chat_format_message_theme ($message, $chatuser, $currentuser, $grouping
// It cannot be called here as HTML-isation interferes with special case
// recognition, but *must* be called on any user-sourced text to be inserted
// into $outmain.
$options = new stdClass();
$options->para = false;
$options->blanktarget = true;
$options = [
'para' => false,
'blanktarget' => true,
];
// And now check for special cases.
$special = false;