Commit 20b0af0b authored by Dries's avatar Dries
Browse files

- Patch #101319 by forngren: add access check to revision log.

parent e629deb9
......@@ -2093,6 +2093,7 @@ function node_form(&$form_state, $node) {
'#weight' => 20,
);
$form['revision_information']['revision'] = array(
'#access' => user_access('administer nodes'),
'#type' => 'checkbox',
'#title' => t('Create new revision'),
'#default_value' => $node->revision,
......
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