aboutsummaryrefslogtreecommitdiff
path: root/editservice.php
diff options
context:
space:
mode:
Diffstat (limited to 'editservice.php')
-rw-r--r--editservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/editservice.php b/editservice.php
index 6e46e6f..b7b4d72 100644
--- a/editservice.php
+++ b/editservice.php
@@ -56,7 +56,7 @@ if ($editing = boolval($serviceid)) {
}
/* Processing of received data */
-if ($data = $mform->get_data()) {
+if (($data = $mform->get_data()) && confirm_sesskey()) {
if ($editing) {
$data->id = $serviceid;
local_webhooks_update_record($data);