mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
MDL-81413 mod_chat: change options parameter to array
This commit is contained in:
parent
4da813d35e
commit
f9c5c6f599
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue