I have a little module that needs to get the user_from data from the logged in user. Here is the debugging code I use.
Code
if (!pnUserLoggedIn()) {
$location = pnUserGetVar('pn_user_from');
echo "location = $location<BR>";
}
$location = pnUserGetVar('pn_user_from');
echo "location = $location<BR>";
}
No matter who I log in with, it always displays
location =
does anyone know why this is happening or how to fix it?
Thanks.
