Commit 3b07d600 authored by salvis's avatar salvis

Fix a typo that caused DNA to not recognize users having the 'administer nodes' permission.

parent 72d8c830
...@@ -405,7 +405,7 @@ function devel_node_access_block($op = 'list', $delta = 0) { ...@@ -405,7 +405,7 @@ function devel_node_access_block($op = 'list', $delta = 0) {
// explain how access is granted (code from node_access()) // explain how access is granted (code from node_access())
$t = 't'; $t = 't';
if (user_access('administer_nodes')) { if (user_access('administer nodes')) {
$output .= t('This user has the %administer_nodes permission and thus full access to all nodes.', array('%administer_nodes' => $t('administer nodes'))); $output .= t('This user has the %administer_nodes permission and thus full access to all nodes.', array('%administer_nodes' => $t('administer nodes')));
} }
else { else {
......
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