mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
fix Undefined index: studentfeedbackurl in mod\hotpot\mod_form.php on line 305
This commit is contained in:
parent
c5d7d04624
commit
4c1c3dfb71
@ -302,10 +302,8 @@ class mod_hotpot_mod_form extends moodleform_mod {
|
||||
}
|
||||
|
||||
// studentfeedbackurl
|
||||
if ($data['studentfeedbackurl']=='http://') {
|
||||
if (empty($data['studentfeedbackurl']) || $data['studentfeedbackurl']=='http://') {
|
||||
$data['studentfeedbackurl'] = '';
|
||||
}
|
||||
if (empty($data['studentfeedbackurl'])) {
|
||||
$error = false;
|
||||
if ($data['studentfeedback']==HOTPOT_FEEDBACK_WEBPAGE) {
|
||||
$error = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user