=== modified file 'ca/ca.module'
--- ca/ca.module	2009-04-13 14:26:56 +0000
+++ ca/ca.module	2009-06-22 17:32:38 +0000
@@ -19,27 +19,27 @@
  */
 function ca_menu() {
   $items[CA_UI_PATH] = array(
-    'title' => 'Conditional actions',
-    'description' => 'Administer the predicates setup to automate your store.',
+    'title' => t('Conditional actions'),
+    'description' => t('Administer the predicates setup to automate your store.'),
     'page callback' => 'ca_admin',
     'access arguments' => array('administer conditional actions'),
     'file' => 'ca.admin.inc',
     'weight' => 5,
   );
   $items[CA_UI_PATH .'/overview'] = array(
-    'title' => 'Overview',
+    'title' => t('Overview'),
     'weight' => 0,
     'type' => MENU_DEFAULT_LOCAL_TASK,
   );
   $items[CA_UI_PATH .'/overview/trigger'] = array(
-    'title' => 'By trigger',
-    'description' => 'Administer the predicates setup to automate your store.',
+    'title' => t('By trigger'),
+    'description' => t('Administer the predicates setup to automate your store.'),
     'weight' => 0,
     'type' => MENU_DEFAULT_LOCAL_TASK,
   );
   $items[CA_UI_PATH .'/overview/class'] = array(
-    'title' => 'By class',
-    'description' => 'Administer the predicates setup to automate your store.',
+    'title' => t('By class'),
+    'description' => t('Administer the predicates setup to automate your store.'),
     'page callback' => 'ca_admin',
     'page arguments' => array('class'),
     'access arguments' => array('administer conditional actions'),
@@ -48,8 +48,8 @@
     'file' => 'ca.admin.inc',
   );
   $items[CA_UI_PATH .'/add'] = array(
-    'title' => 'Add a predicate',
-    'description' => 'Allows an administrator to create a new predicate.',
+    'title' => t('Add a predicate'),
+    'description' => t('Allows an administrator to create a new predicate.'),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ca_predicate_meta_form', '0'),
     'access arguments' => array('administer conditional actions'),
@@ -58,8 +58,8 @@
     'file' => 'ca.admin.inc',
   );
   $items[CA_UI_PATH .'/convert'] = array(
-    'title' => 'Convert configurations',
-    'description' => 'Convert Workflow-ng configurations into Conditional Actions predicates.',
+    'title' => t('Convert configurations'),
+    'description' => t('Convert Workflow-ng configurations into Conditional Actions predicates.'),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ca_conversion_form'),
     'access callback' => 'ca_convert_configurations_access',
@@ -68,8 +68,8 @@
     'file' => 'ca.admin.inc',
   );
   $items[CA_UI_PATH .'/%/edit'] = array(
-    'title' => 'Edit predicate',
-    'description' => "Edit a predicate's meta data, conditions, and actions.",
+    'title' => t('Edit predicate'),
+    'description' => t("Edit a predicate's meta data, conditions, and actions."),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ca_predicate_meta_form', 3),
     'access arguments' => array('administer conditional actions'),
@@ -77,8 +77,8 @@
     'type' => MENU_CALLBACK,
   );
   $items[CA_UI_PATH .'/%/edit/meta'] = array(
-    'title' => 'Meta data',
-    'description' => 'Edit the meta data for a predicate like title, trigger, etc.',
+    'title' => t('Meta data'),
+    'description' => t('Edit the meta data for a predicate like title, trigger, etc.'),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ca_predicate_meta_form', 3),
     'access arguments' => array('administer conditional actions'),
@@ -87,8 +87,8 @@
     'weight' => -10,
   );
   $items[CA_UI_PATH .'/%/edit/conditions'] = array(
-    'title' => 'Conditions',
-    'description' => 'Edit the conditions for a predicate.',
+    'title' => t('Conditions'),
+    'description' => t('Edit the conditions for a predicate.'),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ca_conditions_form', 3),
     'access arguments' => array('administer conditional actions'),
@@ -97,8 +97,8 @@
     'weight' => -5,
   );
   $items[CA_UI_PATH .'/%/edit/actions'] = array(
-    'title' => 'Actions',
-    'description' => 'Edit the actions for a predicate.',
+    'title' => t('Actions'),
+    'description' => t('Edit the actions for a predicate.'),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ca_actions_form', 3),
     'access arguments' => array('administer conditional actions'),
@@ -107,7 +107,7 @@
     'weight' => 0,
   );
   $items[CA_UI_PATH .'/%/reset'] = array(
-    'title' => 'Reset a predicate',
+    'title' => t('Reset a predicate'),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ca_predicate_delete_form', 3),
     'access arguments' => array('administer conditional actions'),
@@ -115,7 +115,7 @@
     'type' => MENU_CALLBACK,
   );
   $items[CA_UI_PATH .'/%/delete'] = array(
-    'title' => 'Delete a predicate',
+    'title' => t('Delete a predicate'),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ca_predicate_delete_form', 3),
     'access arguments' => array('administer conditional actions'),
@@ -439,7 +439,8 @@
   $result = call_user_func_array($callback, $args);
 
   // If the negate operator is TRUE, then switch the result!
-  if ($condition['#settings']['negate']) {
+  //Fix for EALl
+  if (isset($condition['#settings']['negate']) && $condition['#settings']['negate']) {
     $result = !$result;
   }
 
@@ -498,8 +499,13 @@
     }
 
     // Add the condition settings to the argument list.
-    $args[] = is_array($action['#settings']) ? $action['#settings'] : array();
-
+    //EALL FIX
+    if(isset($action['$settings'])) {
+      $args[] = is_array($action['#settings']) ? $action['#settings'] : array();
+    }
+    else {
+      $args[] = null;
+    }
     // Call the action's function with the appropriate arguments.
     $results[$i] = call_user_func_array($callback, $args);
   }

