mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
missing function used in array_walk is crashing apache server
This commit is contained in:
parent
f224ed86e5
commit
e1447f16c1
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user