Index: branches/5.2.x/core/units/custom_fields/custom_fields_tag_processor.php =================================================================== diff -u -N -r13840 -r14095 --- branches/5.2.x/core/units/custom_fields/custom_fields_tag_processor.php (.../custom_fields_tag_processor.php) (revision 13840) +++ branches/5.2.x/core/units/custom_fields/custom_fields_tag_processor.php (.../custom_fields_tag_processor.php) (revision 14095) @@ -1,6 +1,6 @@ Special == 'general') { - $this->groupRecords($list->Records, 'Heading'); + $list->groupRecords('Heading'); } $i = 0; while (!$list->EOL()) { - $block_params['is_last'] = ($i == $list->SelectedCount - 1); + $block_params['is_last'] = ($i == $list->GetSelectedCount() - 1); $block_params['not_last'] = !$block_params['is_last']; // for front-end $this->Application->SetVar( $this->getPrefixSpecial().'_id', $list->GetDBField($id_field) ); // for edit/delete links using GET