Merge branch 'MDL-49046-master-fix1' of http://github.com/damyon/moodle

This commit is contained in:
Andrew Nicols 2015-02-25 11:58:55 +08:00
commit cf2927ba4d

View File

@ -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) {