Plugin Directory

Changeset 201708

Timestamp:
02/04/2010 07:51:58 AM (15 years ago)
Author:
ShaneF
Message:

fixed the location of where the 'type' field goes when doing referrers query. (which is still broken)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • woopra/trunk/inc/render.php

    r200971 r201708  
    114114            $this->api_key = $_GET['apikey'];
    115115           
    116             if ( !empty($_GET['type']) || !empty($_GET['aggregate_by']) ) {
    117                 $xml_data_append = array(
    118                     'type'          => !empty($_GET['type']) ? $_GET['type'] : '',
    119                     'aggregate_by'  => !empty($_GET['aggregate_by']) ? $_GET['aggregate_by'] : '',
    120                 );
    121             }
    122            
    123116            $date_format = $_GET['date_format'];
    124117            $start_date = $_GET['from'];
     
    130123                'endDay'        =>  $end_date,
    131124                'limit'         =>  $this->limit,
    132                 'offset'        =>  $this->offset
     125                'offset'        =>  $this->offset
    133126            );
    134127           
    135             //  Do we need to add anything to the data field?
    136             if ( is_array($xml_data_append) && !empty($xml_data_append) )
    137                 $xml_data = array_merge($xml_data, $xml_data_append);
     128            // 
     129            if ( ) )
     130                $xml_data = array_merge();
    138131           
    139132            /** Process XML Class **/
Note: See TracChangeset for help on using the changeset viewer.