Fix a typo that caused DNA to not recognize users having the 'administer nodes' permi...
authorsalvis
Wed, 25 Feb 2009 16:31:13 +0000 (16:31 +0000)
committersalvis
Wed, 25 Feb 2009 16:31:13 +0000 (16:31 +0000)
devel_node_access.module

index 60a7d12..a9bb705 100644 (file)
@@ -408,7 +408,7 @@ function devel_node_access_block($op = 'list', $delta = 0) {
 
             // explain how access is granted (code from node_access())
             $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')));
             }
             else {