When a visitor jumps into a section of the system -- for instance the shakeit page -- are the global user settings set?
In the early Beta5 releases not all user settings were set when someone was not logged in. This resulting in tons of warning messages in my Apache logs. I finally tracked it down and realized that I needed to test to see if there as a value set for $current_user->user_level
In Beta6 this is checked by the checklevel function in utils.php
Should that value be checked to see make sure it is set?
For instance:
Code:
function checklevel($levl)
{
global $current_user;
if( !empty( $current_user->user_level ) &&
$current_user->user_level == $levl)
{
return 1;
}
} 



Linear Mode




