MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now)
This commit is contained in:
+1
-1
@@ -1898,7 +1898,7 @@ function get_all_instances_in_courses($modulename, $courses, $userid=NULL, $incl
|
||||
}
|
||||
$instance = $rawmods[$cm->id];
|
||||
if (!empty($cm->extra)) {
|
||||
$instance->extra = urlencode($cm->extra); // bc compatibility
|
||||
$instance->extra = $cm->extra;
|
||||
}
|
||||
$outputarray[] = $instance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user