Commit 7a395b89 authored by Petr Skoda's avatar Petr Skoda
Browse files

conversion todo

parent 32230603
......@@ -68,7 +68,7 @@ $mform->set_data(array('id'=>$cm->id));
/// If data submitted, then process and store.
if ($mform->is_cancelled()) {
if (empty($chapter->id)) {
if (empty($chapter->id)) { //TODO: problem
redirect("view.php?id=$cm->id");
} else {
redirect("view.php?id=$cm->id&chapterid=$chapter->id");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment