WordPress.org

Plugin Directory

Changeset 647619


Ignore:
Timestamp:
01/03/13 22:37:30 (16 months ago)
Author:
liedekef
Message:

the results for custom fields were not shown in the printable overview or the CSV export

File:
1 edited

Legend:

Unmodified
Added
Removed
  • events-made-easy/trunk/eme_rsvp.php

    r647268 r647619  
    511511   global $wpdb; 
    512512   $answers_table = $wpdb->prefix.ANSWERS_TBNAME;  
    513    $sql = $wpdb->prepare("SELECT DISTINCT field_name FROM $answers_table WHERE booking_id IN (%s)",join(",",$booking_ids)); 
     513   $sql = "SELECT DISTINCT field_name FROM $answers_table WHERE booking_id IN (".join(",",$booking_ids).")"; 
    514514   return $wpdb->get_results($sql, ARRAY_A); 
    515515} 
Note: See TracChangeset for help on using the changeset viewer.