MDL-50992 lti: Fix debugging warning when creating a new tool
This commit is contained in:
committed by
Damyon Wiese
parent
c5e83ccab0
commit
0ff0722b2f
@@ -73,6 +73,9 @@ if (!empty($id)) {
|
||||
}
|
||||
} else {
|
||||
$type = new stdClass();
|
||||
// Assign a default empty value for the lti_icon.
|
||||
$type->lti_icon = '';
|
||||
$type->lti_secureicon = '';
|
||||
}
|
||||
|
||||
$pageurl = new moodle_url('/mod/lti/typessettings.php');
|
||||
|
||||
Reference in New Issue
Block a user