diff --git a/core/userrights.class.inc.php b/core/userrights.class.inc.php index 0cc726142..34c53f9b9 100644 --- a/core/userrights.class.inc.php +++ b/core/userrights.class.inc.php @@ -471,6 +471,18 @@ class UserRights } } + public static function GetUserObject() + { + if (is_null(self::$m_oUser)) + { + return null; + } + else + { + return self::$m_oUser; + } + } + public static function GetUserLanguage() { if (is_null(self::$m_oUser))