Index: branches/5.2.x/core/units/user_profile/user_profile_tp.php =================================================================== diff -u -N -r14244 -r14628 --- branches/5.2.x/core/units/user_profile/user_profile_tp.php (.../user_profile_tp.php) (revision 14244) +++ branches/5.2.x/core/units/user_profile/user_profile_tp.php (.../user_profile_tp.php) (revision 14628) @@ -1,6 +1,6 @@ Application->GetVar($params['counter']); + $counter = (int)$this->Application->GetVar( $params['counter'] ); - return $counter < $this->ProfileFieldCount(); + return $counter < $this->ProfileFieldCount($params); } /** - * Because of persistant session table doesn't have ids, we use user id as id for each record + * Because of persistent session table doesn't have ids, we use user id as id for each record * * @param Array $params * @return Array (id,field)