From 7d7c187e671df27dd9c8f5bbb8de4449c345d9a4 Mon Sep 17 00:00:00 2001 From: Shawn Kwang Date: Mon, 22 Oct 2018 08:49:07 -0500 Subject: [PATCH] ops: fixed insert statement to use all variables --- html/ops/manage_consent_types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/ops/manage_consent_types.php b/html/ops/manage_consent_types.php index c8d65929d5..610a0255ef 100644 --- a/html/ops/manage_consent_types.php +++ b/html/ops/manage_consent_types.php @@ -44,7 +44,7 @@ function add_consenttype() { } BoincConsentType::insert( - "(shortname, description, project_specific) VALUES ('$shortname', '$description', 1)" + "(shortname, description, enabled, project_specific, privacypref) VALUES ('$shortname', '$description', 0, 1, 0)" ); echo "

Consent Type added.

";