diff --git a/html/ops/manage_consent_types.php b/html/ops/manage_consent_types.php index 4f889fb49d..9f92937cc1 100644 --- a/html/ops/manage_consent_types.php +++ b/html/ops/manage_consent_types.php @@ -21,7 +21,7 @@ require_once('../inc/util_ops.inc'); // This function deletes a row from consent_type table. -function mct_update() { +function mct_delete() { $cid = post_int("consent_id"); $consent_type = BoincConsentType::lookup("consent_id = $cid"); if ($consent_type) { @@ -50,6 +50,28 @@ function add_consenttype() { echo "