GX-Bug #45716 » CSVParentIDFix.patch
src/system/classes/csv/CSVFunctionLibrary.inc.php (revision ) | ||
---|---|---|
1574 | 1574 |
else |
1575 | 1575 |
{ |
1576 | 1576 |
$t_sql = ' |
1577 |
SELECT categories_name, parent_id
|
|
1577 |
SELECT cd.categories_name, c.parent_id
|
|
1578 | 1578 |
FROM ' . TABLE_CATEGORIES . ' AS c |
1579 | 1579 |
LEFT JOIN ' . TABLE_CATEGORIES_DESCRIPTION . ' AS cd ON c.categories_id = cd.categories_id |
1580 | 1580 |
WHERE c.categories_id = "' . $c_category_id . '" |