aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-01-04 14:38:55 +0300
committerValentin Popov <info@valentineus.link>2018-01-04 14:38:55 +0300
commitfa74622268f0ec1e79563e1df5dd6100a5c6c9b8 (patch)
treeca2aa9400448e9581374a0ee7d2f586d0aa73284 /index.php
parent9b7426fb20543f88a9cf826a49d298701b0df329 (diff)
downloadlocal_webhooks-fa74622268f0ec1e79563e1df5dd6100a5c6c9b8.tar.xz
local_webhooks-fa74622268f0ec1e79563e1df5dd6100a5c6c9b8.zip
Links to the editor contain sesskey
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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 */