Index: branches/5.2.x/core/units/helpers/list_helper.php =================================================================== diff -u -N -r14646 -r14699 --- branches/5.2.x/core/units/helpers/list_helper.php (.../list_helper.php) (revision 14646) +++ branches/5.2.x/core/units/helpers/list_helper.php (.../list_helper.php) (revision 14699) @@ -117,7 +117,9 @@ $sorting_prefix = getArrayValue($list_sortings, $list->Special) ? $list->Special : ''; $user_sorting_start = 0; - if ( $forced_sorting = getArrayValue($list_sortings, $sorting_prefix, 'ForcedSorting') ) { + $forced_sorting = getArrayValue($list_sortings, $sorting_prefix, 'ForcedSorting'); + + if ( $forced_sorting ) { $user_sorting_start = count($forced_sorting); } @@ -130,6 +132,7 @@ * @param kDBItem $object * @param string $list_prefix * @param bool $next + * @param string $select_fields * @return int */ function getNavigationResource(&$object, $list_prefix, $next = true, $select_fields = null)