Ignore:
Timestamp:
Oct 18, 2013, 2:31:32 PM (11 years ago)
Author:
plg
Message:

bug fixed: replace hard coded table name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/admin/admin_management.php

    r20292 r24973  
    105105        //Recipients
    106106        $recipients = array();
    107         $query2 = 'SELECT recipient_name, recipient_email FROM piwigo_piwecard WHERE ecard_id="'.$file['ecard_id'].'";';
     107        $query2 = 'SELECT recipient_name, recipient_email FROM '.PIWECARD_TABLE.' WHERE ecard_id="'.$file['ecard_id'].'";';
    108108        $result2 = pwg_query($query2);
    109109       
Note: See TracChangeset for help on using the changeset viewer.