profile view bug

Started by Kirby, March 26, 2004, 02:17:36 PM

Previous topic - Next topic

[Unknown]

Quote from: 7summits on March 30, 2004, 09:12:04 AM
This is the line in question (with line before (comment) and line after added for clarification):
// This is here so the menu won't be shown unless it's actually needed.
if (count($context['profile_areas']) == 1 || (count($context['profile_areas']) == 2 && isset($context['profile_areas']['profile_action']['areas']['send_pm']) && count($context['profile_areas']['profile_action']['areas']) == 1))
$context['profile_areas'] = array();


Change that exact segment of code to this:

// This is here so the menu won't be shown unless it's actually needed.
if (empty($context['profile_areas']) || count($context['profile_areas']) == 1 || (count($context['profile_areas']) == 2 && isset($context['profile_areas']['profile_action']['areas']['send_pm']) && count($context['profile_areas']['profile_action']['areas']) == 1))
$context['profile_areas'] = array();


-[Unknown]

Dove


gregy

i also fixed my error with profile .. i did an upgrade again .. and suddenly all is fine :)

tanx

Advertisement: