PDA

View Full Version : Credit Class & Gift Voucher



michael_s
06-05-2008, 09:00 AM
Hi all, found an other bug when creating a new voucher.

In admin/coupon_admin.php, line 159
replace
$insert_id = tep_db_insert_id($query);
by
$insert_id = tep_db_insert_id();

this will prevent to have errors when adding a new voucher.
This will also fix when there is no name or description in final voucher

More... (http://addons.oscommerce.com/info/282)