Index: branches/5.2.x/core/units/user_profile/user_profile_tp.php =================================================================== diff -u -N -r16350 -r16513 --- branches/5.2.x/core/units/user_profile/user_profile_tp.php (.../user_profile_tp.php) (revision 16350) +++ branches/5.2.x/core/units/user_profile/user_profile_tp.php (.../user_profile_tp.php) (revision 16513) @@ -1,6 +1,6 @@ Application->recallObject( $this->getUserPrefixSpecial() ); - /* @var $user kDBItem */ $sql = 'SELECT VariableValue, VariableName FROM ' . TABLE_PREFIX . 'UserPersistentSessionData @@ -120,8 +120,8 @@ static $field_count = null; if (!isset($field_count)) { + /** @var kDBItem $user */ $user = $this->Application->recallObject( $this->getUserPrefixSpecial() ); - /* @var $user kDBItem */ $display_to_public = $user->GetDBField('DisplayToPublic'); $field_count = $display_to_public ? substr_count($display_to_public, '|') - 1 : 0;