diff --git a/core.php b/core.php index 451283c..5ec1103 100644 --- a/core.php +++ b/core.php @@ -493,7 +493,7 @@ class page_renderer case "user-status": if($env->is_logged_in) { - $result .= "Logged in as " . self::render_username($user) . ". "/* . page_renderer::$nav_divider*/; + $result .= "Logged in as " . self::render_username($env->user) . ". "/* . page_renderer::$nav_divider*/; $result .= "Logout"; $result .= page_renderer::$nav_divider; }