Index: formfilter.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/formfilter/formfilter.module,v retrieving revision 1.3 diff -u -r1.3 formfilter.module --- formfilter.module 16 Feb 2007 04:54:49 -0000 1.3 +++ formfilter.module 30 Sep 2007 15:39:26 -0000 @@ -82,7 +82,11 @@ } } - if ((!$_REQUEST['formfilter_id']) && array_key_exists($form_id, $filters) && ((!user_access('view forms without filtering') || $_REQUEST['formfilter_preview']))) { + // Content module loads a dummy node form. If we alter that form, content_admin_field_overview_form breaks. + // The cck_dummy_node_form attribute has not yet made it into the stable release of CCK. + // (!(isset($form['#node']) && isset($form['#node']->cck_dummy_node_form && $form['#node']->cck_dummy_node_form)) + // For now, test arg. + if ((arg(0) != 'admin') && (!$_REQUEST['formfilter_id']) && array_key_exists($form_id, $filters) && ((!user_access('view forms without filtering') || $_REQUEST['formfilter_preview']))) { $form_filters = array(); // Convert filters to arrays. foreach (array_keys($filters[$form_id]) as $filter) {