ops: fixed insert statement to use all variables

This commit is contained in:
Shawn Kwang 2018-10-22 08:49:07 -05:00
parent 54958022bb
commit 7d7c187e67
1 changed files with 1 additions and 1 deletions

View File

@ -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 "<h2>Consent Type added.</h2>";