Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-14965: Pass-by-reference call broke forum on php5

  • Loading branch information...
commit 1256ee3ec5ea540d7f24efcaea1da28462ca81fb 1 parent 2a212d9
sam_marshall authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/form/format.php
View
3  lib/form/format.php
@@ -65,7 +65,8 @@ function onQuickFormEvent($event, $arg, &$caller)
{
switch ($event) {
case 'createElement':
- $this->load(format_text_menu());
+ $menu = format_text_menu();
+ $this->load($menu);
$this->setHelpButton(array('textformat', get_string('helpformatting')));
break;
case 'updateValue' :
Please sign in to comment.
Something went wrong with that request. Please try again.