Index: auto_nodetitle.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/auto_nodetitle/Attic/auto_nodetitle.module,v
retrieving revision 1.20.2.6.2.5
diff -u -p -r1.20.2.6.2.5 auto_nodetitle.module
--- auto_nodetitle.module	29 Oct 2010 13:37:14 -0000	1.20.2.6.2.5
+++ auto_nodetitle.module	15 Dec 2010 11:00:07 -0000
@@ -174,7 +174,7 @@ function auto_nodetitle_form_node_type_f
   );
   // Don't allow editing of the pattern if PHP is used, but the users lacks
   // permission for PHP.
-  if (variable_get('ant_php_' . $form['#node_type']->type, '') && !user_access('use PHP for title patterns')) {
+  if (variable_get('ant_php_' . $form['#node_type']->type, '') && !user_access('Use PHP for title patterns')) {
     $form['auto_nodetitle']['ant_pattern']['#disabled'] = TRUE;
     $form['auto_nodetitle']['ant_pattern']['#description'] = t('You are not allow the configure the pattern for the title, as you lack the %permission permission.', array('%permission' => t('Use PHP for title patterns')));
   }
@@ -189,7 +189,7 @@ function auto_nodetitle_form_node_type_f
 
 
   $form['auto_nodetitle']['ant_php'] = array(
-    '#access' => user_access('use PHP for title patterns'),
+    '#access' => user_access('Use PHP for title patterns'),
     '#type' => 'checkbox',
     '#title' => t('Evaluate PHP in pattern.'),
     '#description' => t('Put PHP code above that returns your string, but make sure you surround code in &lt;?php and ?&gt;. Note that $node is available and can be used by your code.'),
