Commit d4ce96f1 authored by Dries's avatar Dries

- Patch #91139 bby Eaton: custom node type permissions don't work.

parent 61c8e5b0
......@@ -748,7 +748,7 @@ function node_perm() {
foreach (node_get_types() as $type) {
if ($type->module == 'node') {
$name = check_plain($type->name);
$name = check_plain($type->type);
$perms[] = 'create '. $name .' content';
$perms[] = 'edit own '. $name .' content';
$perms[] = 'edit '. $name .' content';
......
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