Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8258766
)
MDL-35768 - fix E_STRICT issue
author
Dan Poltawski
<dan@moodle.com>
Mon, 5 Nov 2012 06:31:54 +0000
(14:31 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 5 Nov 2012 06:31:54 +0000
(14:31 +0800)
course/format/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/course/format/lib.php
b/course/format/lib.php
index
34613fd
..
b61333d
100644
(file)
--- a/
course/format/lib.php
+++ b/
course/format/lib.php
@@
-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'])) {