Discount Codes

Maybe "typo" found in hooks/shop/siteWide/discountCode.php - Discount Codes

Maybe "typo" found in hooks/shop/siteWide/discountCode.php

by loop » Thu Feb 02, 2023 3:14 pm

Hi Raiwa

Code: Select all

$sql_data = ['customers_id' => (int)$_SESSION['customer_id'],
                   'discount_codes_id' => (int)$discount_codes['discount_codes_id']
                   ];
      $GLOBALS['db']->perform('customers_to_discount_codes ', $sql_data);
is it correct the space after customers_to_discount_codes?
'customers_to_discount_codes '

Thank you for your feedback (it seems it works with the space, but i'm not sure why it's there
loop
VIP Member
VIP Member
Posts: 230
Joined: Thu Mar 25, 2021 12:26 pm
Contact:

Re: Maybe "typo" found in hooks/shop/siteWide/discountCode.p

by raiwa » Fri Feb 03, 2023 10:15 am

If it works, it's not important.
Anyway, thank you for the report. I'll correct it in the next update.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact: