mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +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
|
// 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
|
// recognition, but *must* be called on any user-sourced text to be inserted
|
||||||
// into $outmain.
|
// into $outmain.
|
||||||
$options = new stdClass();
|
$options = [
|
||||||
$options->para = false;
|
'para' => false,
|
||||||
$options->blanktarget = true;
|
'blanktarget' => true,
|
||||||
|
];
|
||||||
|
|
||||||
// And now check for special cases.
|
// And now check for special cases.
|
||||||
$special = false;
|
$special = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue