GX-Bug #52344 » CSVImportFix1.patch
src/system/classes/csv/CSVSource.php (revision ) | ||
---|---|---|
2481 | 2481 |
{ |
2482 | 2482 |
if($row['export_all_new_ones'] === '1') |
2483 | 2483 |
{ |
2484 |
xtc_db_query("INSERT INTO `export_scheme_categories` (`scheme_id`, `categories_id`, `selection_state`)"
|
|
2484 |
xtc_db_query("REPLACE INTO `export_scheme_categories` (`scheme_id`, `categories_id`, `selection_state`)"
|
|
2485 | 2485 |
. "VALUES ('" . $row['scheme_id'] . "', '" . $t_table_data[$i]['categories_id'] |
2486 | 2486 |
. "', 'self_all_sub')"); |
2487 | 2487 |
} |