"fixed problem reported from xxx on the user list: \"Fatal Error class.uiinfolog.inc.php on line 1220\"

removed php5 code (self::), to maintain php4.3 compatibility in 1.4"
This commit is contained in:
Ralf Becker 2007-11-25 16:19:27 +00:00
parent d66969f72b
commit 4cd6f57356

View File

@ -1250,7 +1250,7 @@ class uiinfolog
{ {
if (is_array($val)) if (is_array($val))
{ {
$arr[$key] = self::array_stripslashes($var); $arr[$key] = $this->array_stripslashes($var);
} }
else else
{ {
@ -1282,7 +1282,7 @@ class uiinfolog
{ {
if (get_magic_quotes_gpc()) if (get_magic_quotes_gpc())
{ {
$_POST = self::array_stripslashes($_POST); $_POST = $this->array_stripslashes($_POST);
} }
$this->bo->config->config_data['link_pathes'] = $this->bo->link_pathes = array(); $this->bo->config->config_data['link_pathes'] = $this->bo->link_pathes = array();
$this->bo->config->config_data['send_file_ips'] = $this->bo->send_file_ips = array(); $this->bo->config->config_data['send_file_ips'] = $this->bo->send_file_ips = array();