mirror of
https://github.com/moodle/moodle.git
synced 2025-02-01 13:28:17 +01:00
Use resource_defaulturl when it's blank ... somehow this got removed.
This commit is contained in:
parent
01a1f17457
commit
ab55a4b3f4
@ -509,6 +509,9 @@ function setup($form) {
|
||||
$form->reference = $CFG->resource_defaulturl;
|
||||
}
|
||||
}
|
||||
if (empty($form->reference)) {
|
||||
$form->reference = $CFG->resource_defaulturl;
|
||||
}
|
||||
|
||||
|
||||
/// set the 5 parameter defaults
|
||||
|
Loading…
x
Reference in New Issue
Block a user