Commit 91793577 authored by Leigh Stoller's avatar Leigh Stoller

Fix bug that was causing group_policies table to get wrecked.

parent 27a52de2
......@@ -590,7 +590,7 @@ if ($new_type) {
# And a group policy that prevents new type from being used.
DBQueryFatal("replace into group_policies ".
"(pid_idx, gid_idx, pid, gid, policy, auxdata, count) ".
"values (0, 0, '-', '-', 'type', '$type', 0)");
"values (0, 0, '-', '-', 'type', '$node_type', 0)");
}
else {
DBQueryFatal("update node_types set ".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment