Plugin Directory

Changeset 494797


Ignore:
Timestamp:
01/24/2012 10:12:57 PM (14 years ago)
Author:
toddhuish
Message:

fix reporting bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpeventticketing/trunk/ticketing.php

    r414980 r494797  
    771771            global $wpdb;
    772772            $packages = $wpdb->get_results("select option_value from {$wpdb->options} where option_name like 'package_%'");
     773            //echo '<pre>'.print_r($packages,true).'</pre>';exit;
    773774            $bccList = array();
    774775            if (is_array($packages))
     
    10101011                foreach ($tr[$k] as $data)
    10111012                {
    1012                     if($data["final"] && !in_array($k,$exclude))
     1013                    if($data["final"] && !in_array($k,$exclude) && !in_array($data['Package Type'],$exclude))
    10131014                    {
    10141015                        $c++;
     
    13481349                foreach($tr as $to)
    13491350                {
    1350                     $summary[$to[$s]]++;
     1351                    if(is_array($to[$s]))
     1352                    {
     1353                        foreach($to[$s] as $index)
     1354                            $summary[$index]++;
     1355                    }
     1356                    else
     1357                    {
     1358                        $summary[$to[$s]]++;
     1359                    }
    13511360                }
    13521361                ksort($summary);
Note: See TracChangeset for help on using the changeset viewer.