MDL-35768 - fix E_STRICT issue

This commit is contained in:
Dan Poltawski
2012-11-05 14:31:54 +08:00
parent 825876620b
commit 6b02cc4fc1
+1 -1
View File
@@ -587,7 +587,7 @@ abstract class format_base {
if (!empty($option['element_attributes'])) {
$args = array_merge($args, $option['element_attributes']);
}
$elements[] = &call_user_func_array(array($mform, 'addElement'), $args);
$elements[] = call_user_func_array(array($mform, 'addElement'), $args);
if (isset($option['help'])) {
$helpcomponent = 'format_'. $this->get_format();
if (isset($option['help_component'])) {