Announcement

  •  » Extensions
  •  » [resolved] PIWECARD plugins : correction for all PIWIGO table prefix

#1 2013-02-17 17:29:03

smoothzhuhai
Member
Xian
2007-01-26
9

[resolved] PIWECARD plugins : correction for all PIWIGO table prefix

table prefix was hardcoded in Piwecard/admin/admin_management.php line 107 (2.4.a installed today)
I had to do the following modification in order to have the email sent:


$query2 = 'SELECT recipient_name, recipient_email FROM '.PIWECARD_TABLE.' WHERE ecard_id="'.$file['ecard_id'].'";';

instead of:

        //$query2 = 'SELECT recipient_name, recipient_email FROM piwigo_piwecard WHERE ecard_id="'.$file['ecard_id'].'";';

Last edited by smoothzhuhai (2013-02-17 17:32:00)

Offline

 
  •  » Extensions
  •  » [resolved] PIWECARD plugins : correction for all PIWIGO table prefix

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact