Skip to content

Commit

Permalink
Merge branch 'MDL-49046-master-fix1' of http://github.com/damyon/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Feb 25, 2015
2 parents 46d508c + c95442b commit cf2927b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weblib.php
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ public function set_anchor($anchor) {
public function set_slashargument($path, $parameter = 'file', $supported = null) {
global $CFG;
if (is_null($supported)) {
$supported = $CFG->slasharguments;
$supported = !empty($CFG->slasharguments);
}

if ($supported) {
Expand Down

0 comments on commit cf2927b

Please sign in to comment.