MDL-50992 lti: Fix debugging warning when creating a new tool

This commit is contained in:
Bruce Silver
2015-08-04 22:25:51 +08:00
committed by Damyon Wiese
parent c5e83ccab0
commit 0ff0722b2f
+3
View File
@@ -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');