1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

missing function used in array_walk is crashing apache server

This commit is contained in:
secretr 2011-03-06 12:54:20 +00:00
parent f224ed86e5
commit e1447f16c1

View File

@ -1932,11 +1932,11 @@ class e107
* @param string $type array type _SESSION, _GET etc.
* @return
*/
public function filter_request($input,$key,$type)
public static function filter_request($input,$key,$type)
{
if (is_array($input))
{
return array_walk($input, 'e107_filter',$type);
return array_walk($input, array('self', 'filter_request'), $type);
}
if($type == "_SERVER")