Removed return statement that prevented the rest of the script from executing
This commit is contained in:
parent
d8677842d3
commit
faedb6f7e0
1 changed files with 1 additions and 1 deletions
2
edit.php
2
edit.php
|
@ -106,7 +106,7 @@ if ((!empty($moveup)) || (!empty($movedown))) {
|
|||
$element = $DB->get_record('customcert_elements', array('id' => $deleteelement), '*', MUST_EXIST);
|
||||
// Get an instance of the element class.
|
||||
if ($e = customcert_get_element_instance($element)) {
|
||||
return $e->delete_element();
|
||||
$e->delete_element();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue