diff -r 99c617146a34 -r f514dc675f32 includes/template.php --- a/includes/template.php Tue Jul 29 09:53:42 2008 -0600 +++ b/includes/template.php Tue Aug 05 11:12:01 2008 -0400 @@ -194,7 +194,7 @@ global $lang; // generate the fading button - needs to be done after sessions are started - $admintitle = ( $session->user_level >= USER_LEVEL_ADMIN ) ? ' title="' . $lang->get('sidebar_btn_enanopowered_admin_tip') . '"' : ''; + $admintitle = ( $session->user_level >= USER_LEVEL_ADMIN && is_object(@$lang) ) ? ' title="' . $lang->get('sidebar_btn_enanopowered_admin_tip') . '"' : ''; $this->fading_button = '
';