From fa74622268f0ec1e79563e1df5dd6100a5c6c9b8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 4 Jan 2018 15:38:55 +0400 Subject: Links to the editor contain sesskey --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index f223849..75f3a8e 100644 --- a/index.php +++ b/index.php @@ -76,7 +76,7 @@ $PAGE->set_title($titlepage); echo $OUTPUT->header(); /* Adds the add button */ -$addserviceurl = new moodle_url($editservice); +$addserviceurl = new moodle_url($editservice, array("sesskey" => sesskey())); echo $OUTPUT->single_button($addserviceurl, new lang_string("add", "moodle")); /* Adds a delete button */ -- cgit v1.2.3