Skip to content
Permalink
Browse files

MDL-34904 lti: Fix notice while using lti in frontpage

  • Loading branch information...
ankitagarwal committed May 2, 2014
1 parent a76fb41 commit 9cca987e0ae0684d8fec09679ef18d85d4c472db
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lti/locallib.php
@@ -615,7 +615,7 @@ function lti_get_types_for_add_instance() {
$admintypes = $DB->get_records_sql($query, array('siteid' => $SITE->id, 'courseid' => $COURSE->id, 'active' => LTI_TOOL_STATE_CONFIGURED));
$types = array();
$types[0] = (object)array('name' => get_string('automatic', 'lti'), 'course' => $SITE->id);
$types[0] = (object)array('name' => get_string('automatic', 'lti'), 'course' => 0);
foreach ($admintypes as $type) {
$types[$type->id] = $type;

0 comments on commit 9cca987

Please sign in to comment.
You can’t perform that action at this time.