Index: branches/5.2.x/units/discount_items/discount_items_config.php =================================================================== diff -u -N -r14923 -r15009 --- branches/5.2.x/units/discount_items/discount_items_config.php (.../discount_items_config.php) (revision 14923) +++ branches/5.2.x/units/discount_items/discount_items_config.php (.../discount_items_config.php) (revision 15009) @@ -1,6 +1,6 @@ Array( ''=>' SELECT %1$s.* %2$s FROM %1$s LEFT JOIN '.TABLE_PREFIX.'Products p ON %1$s.ItemResourceId = p.ResourceId - LEFT JOIN '.TABLE_PREFIX.'Category c ON %1$s.ItemResourceId = c.ResourceId', + LEFT JOIN '.TABLE_PREFIX.'Categories c ON %1$s.ItemResourceId = c.ResourceId', ), // key - special, value - list select sql 'ItemSQLs' => Array( ''=>'SELECT * FROM %s', ),