mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
missing function used in array_walk is crashing apache server
This commit is contained in:
@@ -1932,11 +1932,11 @@ class e107
|
|||||||
* @param string $type array type _SESSION, _GET etc.
|
* @param string $type array type _SESSION, _GET etc.
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public function filter_request($input,$key,$type)
|
public static function filter_request($input,$key,$type)
|
||||||
{
|
{
|
||||||
if (is_array($input))
|
if (is_array($input))
|
||||||
{
|
{
|
||||||
return array_walk($input, 'e107_filter',$type);
|
return array_walk($input, array('self', 'filter_request'), $type);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($type == "_SERVER")
|
if($type == "_SERVER")
|
||||||
|
Reference in New Issue
Block a user