fixed wrong redirect url syntax

This commit is contained in:
Petr Skoda
2010-07-18 08:39:58 +00:00
parent 4ce274696f
commit ccfbbff0d9
+2 -2
View File
@@ -80,7 +80,7 @@ $mform = new mod_glossary_entry_form(null, array('current'=>$entry, 'cm'=>$cm, '
if ($mform->is_cancelled()){
if ($id){
redirect("view.php?id=$cm->id&mode=entry&hook=$id");
redirect("view.php?id=$cm->id&mode=entry&hook=$id");
} else {
redirect("view.php?id=$cm->id");
}
@@ -167,7 +167,7 @@ if ($mform->is_cancelled()){
}
}
redirect("view.php?id=$cm->id&mode=entry&hook=$entry->id");
redirect("view.php?id=$cm->id&mode=entry&hook=$entry->id");
}
if (!empty($id)) {