=== modified file 'uc_reports/translations/uc_reports.pot' (properties changed: -x to +x)
=== modified file 'uc_reports/uc_reports.admin.inc' (properties changed: -x to +x)
--- uc_reports/uc_reports.admin.inc	2009-06-24 15:37:14 +0000
+++ uc_reports/uc_reports.admin.inc	2009-06-29 20:43:48 +0000
@@ -9,6 +9,8 @@
 
 // Form builder for the admin settings.
 function uc_reports_settings_form() {
+  $form = array();
+
   $form['uc_reports_table_size'] = array(
     '#type' => 'textfield',
     '#title' => t('Paged table size'),
@@ -44,6 +46,7 @@
   $page_size = (!is_null($_GET['nopage'])) ? UC_REPORTS_MAX_RECORDS : variable_get('uc_reports_table_size', 30);
   $order_statuses = _uc_reports_order_statuses();
   $csv_rows = array();
+  $output = '';
 
   $header = array(
     array('data' => t('#')),
@@ -307,6 +310,7 @@
  * Straight duplication of theme_table, but our row handling is different.
  */
 function theme_uc_reports_product_table($header, $rows, $attributes = array(), $caption = NULL) {
+  $output = '';
 
   // Add sticky headers, if applicable.
   if (count($header)) {
@@ -395,6 +399,7 @@
   $timezone_offset = time() + _uc_reports_timezone_offset();
   $order_statuses = _uc_reports_order_statuses();
   $format = variable_get('uc_date_format_default', 'm/d/Y');
+  $rows = array();
 
   $date_month = gmdate('n', $timezone_offset);
   $date_year = gmdate('Y', $timezone_offset);
@@ -630,6 +635,8 @@
 
 // Form to specify a year for the yearly sales report.
 function uc_reports_sales_year_form($form_state, $year) {
+  $form = array();
+
   $form['year'] = array(
     '#type' => 'textfield',
     '#title' => t('Sales year'),
@@ -659,6 +666,8 @@
   $timezone = _uc_reports_timezone_offset();
   $timezone_offset = time() + $timezone;
   $format = variable_get('uc_date_format_default', 'm/d/Y');
+  $rows = array();
+  $output = '';
 
   // Use default report parameters if we don't detect values in the URL.
   if (arg(5) == '') {
@@ -798,6 +807,8 @@
 
 // Form builder for the custom sales report.
 function uc_reports_sales_custom_form($form_state, $values, $statuses) {
+  $form = array();
+
   $form['search'] = array(
     '#type' => 'fieldset',
     '#title' => t('Customize sales report parameters'),

=== modified file 'uc_reports/uc_reports.css' (properties changed: -x to +x)
=== modified file 'uc_reports/uc_reports.info' (properties changed: -x to +x)
=== modified file 'uc_reports/uc_reports.install' (properties changed: -x to +x)
=== modified file 'uc_reports/uc_reports.module' (properties changed: -x to +x)
--- uc_reports/uc_reports.module	2009-02-13 14:10:49 +0000
+++ uc_reports/uc_reports.module	2009-06-29 20:46:32 +0000
@@ -163,11 +163,12 @@
  * Implementation of hook_theme().
  */
 function uc_reports_theme() {
-  return array(
+  $ret = array(
     'uc_reports_product_table' => array(
       'arguments' => array('header' => NULL, 'rows' => NULL, 'attributes' => array(), 'caption' => NULL),
     ),
   );
+  return $ret;
 }
 
 /**
@@ -207,6 +208,9 @@
 function uc_reports_store_csv($report_id, $rows) {
   global $user;
   $user_id = (empty($user->uid)) ? session_id() : $user->uid;
+  $report_id = NULL;
+  $csv_output = NULL;
+
   foreach ($rows as $row) {
     foreach ($row as $index => $column) {
       $row[$index] = '"'. str_replace('"', '""', $column) .'"';
@@ -276,6 +280,7 @@
  */
 function _uc_reports_get_sales($time, $period = 'day') {
   $timezone = _uc_reports_timezone_offset();
+  $output = '';
 
   // Get the current date markers.
   $date = array(

