mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-49046-master-fix1' of http://github.com/damyon/moodle
This commit is contained in:
commit
cf2927ba4d
@ -685,7 +685,7 @@ class moodle_url {
|
||||
public function set_slashargument($path, $parameter = 'file', $supported = null) {
|
||||
global $CFG;
|
||||
if (is_null($supported)) {
|
||||
$supported = $CFG->slasharguments;
|
||||
$supported = !empty($CFG->slasharguments);
|
||||
}
|
||||
|
||||
if ($supported) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user