Index: branches/5.2.x/core/units/helpers/image_helper.php =================================================================== diff -u -N -r14752 -r15012 --- branches/5.2.x/core/units/helpers/image_helper.php (.../image_helper.php) (revision 14752) +++ branches/5.2.x/core/units/helpers/image_helper.php (.../image_helper.php) (revision 15012) @@ -1,6 +1,6 @@ Application->ConfigValue($object->Prefix.'_MaxImageCount'); $sql = 'SELECT * - FROM '.TABLE_PREFIX.'Images + FROM '.TABLE_PREFIX.'CatalogImages WHERE ResourceId = '.$object->GetDBField('ResourceId').' ORDER BY Priority DESC LIMIT 0, ' . (int)$max_image_count;