From 312bd5e9bd41ec705c52abedbd8d47599255797c Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Fri, 24 Jul 2009 00:21:03 +0200 Subject: [PATCH] [svn r22338] changed function - (partial FS#4400) --- main/inc/lib/security.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }