GX-Bug #48538 » CouponAdminInsertIDFix.patch
src/admin/coupon_admin.php (revision ) | ||
---|---|---|
255 | 255 |
else |
256 | 256 |
{ |
257 | 257 |
$query = xtc_db_perform(TABLE_COUPONS, $sql_data_array); |
258 |
$insert_id = xtc_db_insert_id($query);
|
|
258 |
$insert_id = xtc_db_insert_id(); |
|
259 | 259 |
|
260 | 260 |
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) |
261 | 261 |
{ |