mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-32094 fix various E_STRICT compatibility problems
This commit is contained in:
parent
0ed6f71232
commit
f20edd5208
27 changed files with 53 additions and 42 deletions
|
@ -77,7 +77,7 @@ if ($token==="$inttoken") {
|
|||
|
||||
//find the context id
|
||||
if ($course = $DB->get_record('course', array('id' => $courseid))) {
|
||||
$modinfo =& get_fast_modinfo($course);
|
||||
$modinfo = get_fast_modinfo($course);
|
||||
|
||||
if (!isset($modinfo->instances[$componentname])) {
|
||||
$modinfo->instances[$componentname] = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue