diff options
author | Valentin Popov <info@valentineus.link> | 2017-10-22 13:15:16 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-10-22 13:15:16 +0300 |
commit | aaacb23d419faa4513eb3c9380e47bc7befa9e6c (patch) | |
tree | 9ae7b85903a01efbd99c3e0d735411fa07676a56 | |
parent | 804fc061ed55abe0f8629841fbac84191bec4374 (diff) | |
download | local_webhooks-aaacb23d419faa4513eb3c9380e47bc7befa9e6c.tar.xz local_webhooks-aaacb23d419faa4513eb3c9380e47bc7befa9e6c.zip |
Correcting an error with a variable
-rw-r--r-- | managerservice.php | 2 |
1 files changed, 1 insertions, 1 deletions
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")); } |