mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
fix for notice about undefined urls property.
This commit is contained in:
parent
4642a0c1f0
commit
a54fd2dd4d
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ $contextmoveform = new question_context_move_question_form($thispageurl,
|
||||||
if ($contextmoveform->is_cancelled()){
|
if ($contextmoveform->is_cancelled()){
|
||||||
redirect($returnurl);
|
redirect($returnurl);
|
||||||
}elseif ($moveformdata = $contextmoveform->get_data()) {
|
}elseif ($moveformdata = $contextmoveform->get_data()) {
|
||||||
if (is_array($moveformdata->urls)){
|
if (isset($moveformdata->urls) && is_array($moveformdata->urls)){
|
||||||
check_dir_exists($CFG->dataroot."/$tocoursefilesid/", true);
|
check_dir_exists($CFG->dataroot."/$tocoursefilesid/", true);
|
||||||
$flipurls = array_keys($urls);
|
$flipurls = array_keys($urls);
|
||||||
//actions on files
|
//actions on files
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue