Thank you for responding.
I am using the files from the 'uc_event_1.zip' file. The TWO patches I applied were from the README.txt file. The first was at lines 25-40 as follows:
function uc_reports_products() {
$statistics = db_result(db_query("SELECT status FROM {system} WHERE name = 'statistics'"));
$count_views = variable_get('statistics_count_content_views', FALSE);
$page = (!is_null($_GET['page'])) ? intval($_GET['page']) : 0;
$page_size = (!is_null($_GET['nopage'])) ? UC_REPORTS_MAX_RECORDS : variable_get('uc_reports_table_size', 30);
$order_statuses = _uc_reports_order_statuses();
- $product_types = array("'product'");
- $types = db_query("SELECT DISTINCT(pcid) FROM {uc_product_classes}");
- while ($type = db_fetch_object($types)) {
- $product_types[] = "'". $type->pcid ."'";
- }
+ $p_types = module_invoke_all('product_types');
+ foreach ($p_types as $id) {
+ $product_types[] = "'". $id ."'";
+ }
$csv_rows = array();Since that one was in the uc_reports.module I figured it had no effect on the duplication of the two div instances. The second patch was in lines 52-54 of the README.txt:
- if (in_array($product->type, array_keys(uc_product_node_info()))) {
---
+ if (in_array($product->type, module_invoke_all('product_types'))) {I reversed each patch individually and found no change to the duplication of the divs. Seems like I remember someone commenting about duplications, but I've searched to no avail.
I'm still looking for suggestions...
