10
No, I don't have that line, I have this:
} $categories[0]['fields'][] = array('title' => _PROFILE_MA_RANK, 'value' => $user_rankimage.$userrank['title']); $weights[0][] = 0; if ($thisUser->getVar('user_viewemail') == 1) { $email = $thisUser->getVar('email', 'E'); } else { $email = ""; if (is_object($xoopsUser)) { // All admins will be allowed to see emails, even those that are not allowed to edit users (I think it's ok like this) if ($xoopsUserIsAdmin || ($xoopsUser->getVar("uid") == $thisUser->getVar("uid"))) { $email = $thisUser->getVar('email', 'E'); } } } if ($email != "") { $categories[0]['fields'][] = array('title' => _PROFILE_MA_EMAIL, 'value' => $email); $weights[0][] = 0; } foreach (array_keys($cats) as $i) { $categories[$i] = $cats[$i];
i run XOOPS 2.2 and the default profile that goes for it
Mind anchors