You are missing the {} for the switch.
Try ;
PHP Code:
switch($userinfo['activity'])
{
// Album user online Mod
case 'album':
$userinfo['action'] = 'Browsing album';
$userinfo['where'] = "<a href=\"$userinfo[location]\">$userinfo[location]</a>";
break;
// End
}
Since there is only one case, it seems daft using
switch anyway, an
if statement would have been better.