Index: contentblocker.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/contentblocker/contentblocker.module,v
retrieving revision 1.1
diff -u -r1.1 contentblocker.module
--- contentblocker.module	20 Apr 2007 20:10:54 -0000	1.1
+++ contentblocker.module	22 Apr 2007 03:25:29 -0000
@@ -49,7 +49,7 @@
         'weight' => -5,
         'callback' => 'system_admin_menu_block_page',
       );
-      foreach ($types as $index => $type) {
+      foreach (array_keys($types) as $type) {
         // Add a settings menu item.
         $items[] = array(
           'path' => 'contentblocker/'. $type,
@@ -162,7 +162,6 @@
  * Save blocking information for a node.
  */
 function contentblocker_save_block($type, $node) {
-drupal_set_message('saving block');
   global $user;
   $data = contentblocker_get_data($type);
 
