Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8474fe
)
MDL-54610 mod_lti: Fix cartridge support for admin tool add/edit forms
author
Jake Dallimore
<jake@moodle.com>
Tue, 21 Jun 2016 09:02:49 +0000
(17:02 +0800)
committer
Jake Dallimore
<jake@moodle.com>
Fri, 24 Jun 2016 06:14:28 +0000
(14:14 +0800)
mod/lti/typessettings.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/lti/typessettings.php
b/mod/lti/typessettings.php
index
d3143b5
..
40fbf14
100644
(file)
--- a/
mod/lti/typessettings.php
+++ b/
mod/lti/typessettings.php
@@
-125,11
+125,13
@@
if ($data = $form->get_data()) {
$type = new stdClass();
if (!empty($id)) {
$type->id = $id;
+ lti_load_type_if_cartridge($data);
lti_update_type($type, $data);
redirect($redirect);
} else {
$type->state = LTI_TOOL_STATE_CONFIGURED;
+ lti_load_type_if_cartridge($data);
lti_add_type($type, $data);
redirect($redirect);