Index: c2c.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/c2c/c2c.module,v
retrieving revision 1.4
diff -u -p -r1.4 c2c.module
--- c2c.module	8 Mar 2009 19:44:56 -0000	1.4
+++ c2c.module	18 Nov 2009 08:43:05 -0000
@@ -275,13 +275,14 @@ function c2c_delete_form_select($form_va
 function c2c_configuration_status($type) {
   $configuration = array();
   $file_names = c2c_files($type);
+  $files = array();
   foreach ($file_names as $file_name) {
     $files[] = $file_name->name;
   }
   
   if ($items = c2c_fetch_items($type)) {
     foreach ($items[$type]['items'] as $name => $item) {
-      if (!array_search($name, $files)) {
+      if (array_search($name, $files) === FALSE) {
         // No file exists
         $configuration['different'][$name] = $name;
       }
@@ -292,6 +293,7 @@ function c2c_configuration_status($type)
         // Remove the comments, so we don't match the datetime or username.
         // We check for the tool string to ensure that we don't accidentally
         // remove other comments (e.g. in configured header PHP).
+        // @todo Maybe check for the first instance of 'function' instead?
         $remove = '|/\*.*@tool c2c.module.*?\*/|s';
         $configured = preg_replace($remove, '', $configured);
         $file = preg_replace($remove, '', $file);
