diff --git a/main/inc/lib/security.lib.php b/main/inc/lib/security.lib.php index 8d3fbcc4a0..f8218e3a40 100755 --- a/main/inc/lib/security.lib.php +++ b/main/inc/lib/security.lib.php @@ -121,7 +121,7 @@ class Security /** * @return string */ - public function getTokenFromSession() + public static function getTokenFromSession() { return Session::read('sec_token'); }