? strongarm_e_all.patch
Index: strongarm.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/strongarm/strongarm.module,v
retrieving revision 1.1
diff -u -p -r1.1 strongarm.module
--- strongarm.module	6 May 2009 17:55:05 -0000	1.1
+++ strongarm.module	12 May 2009 03:16:59 -0000
@@ -51,7 +51,7 @@ function strongarm_form_alter(&$form, &$
     $position = STRONGARM_PATTERN_SUFFIX;
   }
 
-  if ($lockdown) {
+  if (!empty($lockdown)) {
     drupal_add_css(drupal_get_path('module', 'strongarm') .'/strongarm.css');
     $altered = _strongarm_lockdown($form, $pattern, $position);
     if ($altered) {
@@ -63,7 +63,7 @@ function strongarm_form_alter(&$form, &$
 /**
  * Retrieve variable configuration from the cache.
  */
-function strongarm_get_cache() {
+function strongarm_get_cache($reset = FALSE) {
   static $conf;
   if (!isset($conf) || $reset) {
     $conf = array();
@@ -159,7 +159,7 @@ function _strongarm_lockdown(&$form, $pa
     }
 
     // If this is a tree'd element, recurse
-    if ($form[$elem]['#tree'] || !empty($children)) {
+    if (!empty($form[$elem]['#tree']) || !empty($children)) {
       $altered = $altered || _strongarm_lockdown($form[$elem], $pattern, $position);
     }
 
