From aaacb23d419faa4513eb3c9380e47bc7befa9e6c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 22 Oct 2017 14:15:16 +0400 Subject: Correcting an error with a variable --- managerservice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/managerservice.php b/managerservice.php index 7f71a3a..62131d2 100644 --- a/managerservice.php +++ b/managerservice.php @@ -34,7 +34,7 @@ $PAGE->set_context($context); /* Delete the service */ if ($deleteservice && confirm_sesskey()) { - $DB->delete_records("local_webhooks_service", array("id" => $deleterssid)); + $DB->delete_records("local_webhooks_service", array("id" => $deleteservice)); redirect($PAGE->url, new lang_string("servicedeleted", "local_webhooks")); } -- cgit v1.2.3