diff --git a/main/inc/lib/security.lib.php b/main/inc/lib/security.lib.php index 059061312b..42acb86e41 100755 --- a/main/inc/lib/security.lib.php +++ b/main/inc/lib/security.lib.php @@ -52,7 +52,7 @@ * @author Yannick Warnier */ class Security { - public $clean = array(); + public static $clean = array(); /** * Checks if the absolute path (directory) given is really under the * checker path (directory) @@ -232,8 +232,8 @@ class Security { * @return mixed Variable or NULL on error */ public static function get ($varname) { - if (isset($this->clean[$varname])) { - return $this->clean[$varname]; + if (isset(self::$clean[$varname])) { + return self::$clean[$varname]; } return NULL; }