=== modified file 'uc_cart/images/bullet-arrow-down.gif' (properties changed: -x to +x)
=== modified file 'uc_cart/images/bullet-arrow-up.gif' (properties changed: -x to +x)
=== modified file 'uc_cart/images/cart-empty.png' (properties changed: -x to +x)
=== modified file 'uc_cart/images/cart-full.png' (properties changed: -x to +x)
=== modified file 'uc_cart/translations/uc_cart.pot' (properties changed: -x to +x)
=== modified file 'uc_cart/uc_cart.admin.inc' (properties changed: -x to +x)
--- uc_cart/uc_cart.admin.inc	2009-05-09 17:41:42 +0000
+++ uc_cart/uc_cart.admin.inc	2009-06-29 18:29:04 +0000
@@ -9,6 +9,8 @@
 
 // Displays an overview of the cart settings.
 function uc_cart_cart_settings_overview() {
+  $summaries = array();
+  $help_text = '';
   // Load the form summaries for pages beneath this path.
   $summaries = summarize_child_form_pages('admin/store/settings/cart/edit');
 
@@ -36,6 +38,8 @@
 }
 
 function uc_cart_cart_settings_form() {
+  $form = array();
+
   $form['general'] = array(
     '#type' => 'fieldset',
     '#title' => t('General cart settings'),
@@ -191,6 +195,7 @@
 }
 
 function uc_cart_cart_panes_form() {
+  $form = array();
   $panes = uc_cart_cart_pane_list(NULL);
 
   $form['panes'] = array(
@@ -232,6 +237,8 @@
 }
 
 function uc_cart_checkout_settings_form() {
+  $form = array();
+
   $form['general'] = array(
     '#type' => 'fieldset',
     '#title' => t('General checkout settings'),
@@ -364,6 +371,7 @@
 
 function uc_cart_checkout_panes_form() {
   $panes = _checkout_pane_list();
+  $form = array();
 
   $form['panes'] = array(
     '#theme' => 'uc_pane_sort_table',
@@ -402,6 +410,7 @@
 }
 
 function uc_cart_checkout_messages_form() {
+  $form = array();
   $form['uc_checkout_instructions'] = array(
     '#type' => 'textarea',
     '#title' => t('Checkout instructions'),

=== modified file 'uc_cart/uc_cart.ca.inc' (properties changed: -x to +x)
--- uc_cart/uc_cart.ca.inc	2009-04-28 16:24:01 +0000
+++ uc_cart/uc_cart.ca.inc	2009-06-29 18:29:47 +0000
@@ -16,6 +16,8 @@
  * Implementation of hook_ca_condition().
  */
 function uc_cart_ca_condition() {
+  $conditions = array();
+
   $conditions['uc_cart_condition_product_class'] = array(
     '#title' => t('Order has a product of a particular class'),
     '#category' => t('Order: Product'),
@@ -35,6 +37,8 @@
  * Implementation of hook_ca_trigger().
  */
 function uc_cart_ca_trigger() {
+  $triggers = array();
+
   $triggers['uc_checkout_complete'] = array(
     '#title' => t('Customer completes checkout'),
     '#category' => t('Cart'),

=== modified file 'uc_cart/uc_cart.css' (properties changed: -x to +x)
=== modified file 'uc_cart/uc_cart.info' (properties changed: -x to +x)
=== modified file 'uc_cart/uc_cart.install' (properties changed: -x to +x)
=== modified file 'uc_cart/uc_cart.js' (properties changed: -x to +x)
=== modified file 'uc_cart/uc_cart.module' (properties changed: -x to +x)
--- uc_cart/uc_cart.module	2009-06-16 21:16:15 +0000
+++ uc_cart/uc_cart.module	2009-06-29 18:38:11 +0000
@@ -178,6 +178,8 @@
  * Implementation of hook_enable().
  */
 function uc_cart_enable() {
+  $action = array();
+
   // Create an Imagecache preset for the cart view form.
   if (module_exists('imagecache')) {
     $preset_name = 'cart';
@@ -209,7 +211,7 @@
  * Implementation of hook_theme().
  */
 function uc_cart_theme() {
-  return array(
+  $ret = array(
     'uc_cart_block_title' => array(
       'arguments' => array('title' => NULL, 'icon_class' => FALSE, 'collapsible' => FALSE),
     ),
@@ -255,6 +257,7 @@
       'arguments' => array('message' => ''),
     ),
   );
+  return $ret;
 }
 
 /**
@@ -328,6 +331,8 @@
  * Implementation of hook_form_alter().
  */
 function uc_cart_form_alter(&$form, $form_state, $form_id) {
+  $form = array();
+ 
   // Redirect shopper back to checkout page if they go to login from there.
   if ($form_id == 'user_login' || $form_id == 'user_edit' || $form_id == 'user_register') {
     if ($_SESSION['checkout-redirect'] == TRUE) {
@@ -354,6 +359,7 @@
  */
 function uc_cart_block($op = 'list', $delta = 0, $edit = array()) {
   global $user;
+  $block = array();
 
   switch ($op) {
     case 'list':
@@ -749,6 +755,7 @@
  */
 function uc_cart_uc_message() {
   global $user;
+  $message = array();
 
   $messages['checkout_instructions'] = '';
   $messages['review_instructions'] = t("Your order is almost complete. Please review the details below and click 'Submit order' if all the information is correct.  You may use the 'Back' button to make changes to your order if necessary.");
@@ -765,6 +772,7 @@
  * Implementation of hook_cart_pane().
  */
 function uc_cart_cart_pane($items) {
+  $panes = array();
   $panes[] = array(
     'id' => 'cart_form',
     'title' => t('Default cart form'),
@@ -780,6 +788,8 @@
  * Implementation of hook_checkout_pane().
  */
 function uc_cart_checkout_pane() {
+  $panes = array();
+
   $panes[] = array(
     'id' => 'cart',
     'callback' => 'uc_checkout_pane_cart',
@@ -873,6 +883,8 @@
  * customer.
  */
 function uc_cart_view_form($form_state, $items = NULL) {
+  $form = array();
+
   $form['items'] = array(
     '#type' => 'tapir_table',
     '#tree' => TRUE,
@@ -983,6 +995,7 @@
 
 function theme_uc_cart_view_form($form) {
   drupal_add_css(drupal_get_path('module', 'uc_cart') .'/uc_cart.css');
+  $form = array();
 
   $output = '<div id="cart-form-products">'
           . drupal_render($form['items']) .'</div>';
@@ -1519,7 +1532,7 @@
 // Returns a checkout pane array with panes filtered out that have key values
 // matching the combinations in the $remove array.
 function uc_cart_filter_checkout_panes($panes, $remove = NULL) {
-  if (is_array($remove)) {
+  if (isset($remove) && is_array($remove)) {
     for ($i = 0, $j = count($panes); $i < $j; $i++) {
       foreach ($remove as $key => $value) {
         if ($panes[$i][$key] == $value) {

=== modified file 'uc_cart/uc_cart.pages.inc' (properties changed: -x to +x)
--- uc_cart/uc_cart.pages.inc	2009-05-06 18:27:07 +0000
+++ uc_cart/uc_cart.pages.inc	2009-06-29 18:48:31 +0000
@@ -9,6 +9,8 @@
 
 // Displays cart view page with form to adjust cart contents or go to checkout.
 function uc_cart_view() {
+   $output = '';
+
   // Failsafe so that this function only works when called with no arguments.
   // This prevents the accidental wiping of the cart_order session variable.
   if (func_num_args() > 0) {
@@ -51,6 +53,7 @@
  */
 function uc_cart_checkout() {
   global $user;
+  $output = '';
 
   $items = uc_cart_get_contents();
   if (count($items) == 0 || !variable_get('uc_checkout_enabled', TRUE)) {
@@ -108,9 +111,10 @@
 
 function uc_cart_checkout_form() {
   global $user;
+  $form = array();
 
   // Cancel an order when a customer clicks the 'Cancel' button.
-  if ($_POST['op'] == t('Cancel')) {
+  if (isset($_POST['op']) && $_POST['op'] == t('Cancel')) {
     if (intval($_SESSION['cart_order']) > 0) {
       uc_order_comment_save($_SESSION['cart_order'], 0, t('Customer cancelled this order from the checkout form.'));
       unset($_SESSION['cart_order']);
@@ -301,6 +305,7 @@
 }
 
 function uc_cart_checkout_form_submit($form, &$form_state) {
+  $url = '';
   if ($_SESSION['checkout_valid'] === FALSE) {
     $url = 'cart/checkout';
   }
@@ -318,10 +323,12 @@
  * Allow a customer to review their order before finally submitting it.
  */
 function uc_cart_checkout_review() {
+  $output = '';
+
   drupal_add_js(drupal_get_path('module', 'uc_cart') .'/uc_cart.js');
   $form = drupal_get_form('uc_cart_checkout_review_form');
 
-  if ($_SESSION['do_review'] !== TRUE && !uc_referer_check('cart/checkout')) {
+  if (isset($_SESSION['do_review']) && $_SESSION['do_review'] !== TRUE && !uc_referer_check('cart/checkout')) {
     drupal_goto('cart/checkout');
   }
   unset($_SESSION['do_review']);
@@ -380,9 +387,9 @@
   foreach ($panes as $title => $data) {
     $output .= '<tr class="pane-title-row"><td colspan="2">'. $title
               .'</td></tr>';
-    if (is_array($data)) {
+    if (isset($data) && is_array($data)) {
       foreach ($data as $row) {
-        if (is_array($row)) {
+        if (isset($row) && is_array($row)) {
           if (isset($row['border'])) {
             $border = ' class="row-border-'. $row['border'] .'"';
           }
@@ -410,8 +417,10 @@
 }
 
 function uc_cart_checkout_review_form() {
+  $form = array();
+
   // Set the session variable to pass the redirect check on the pageload.
-  if ($_POST['op'] == t('Back')) {
+  if (isset($_POST['op']) && $_POST['op'] == t('Back')) {
     $_SESSION['do_review'] = TRUE;
   }
 
@@ -469,6 +478,8 @@
 }
 
 function uc_cart_checkout_complete() {
+  $output = '';
+
   if (!$_SESSION['do_complete']) {
     drupal_goto('cart');
   }

=== modified file 'uc_cart/uc_cart.test' (properties changed: -x to +x)
=== modified file 'uc_cart/uc_cart_block.css' (properties changed: -x to +x)
=== modified file 'uc_cart/uc_cart_block.js' (properties changed: -x to +x)
=== modified file 'uc_cart/uc_cart_checkout_pane.inc' (properties changed: -x to +x)
