mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Addslash function no longer needed with request_var processing
git-svn-id: file:///svn/phpbb/trunk@4790 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
570e570f7c
commit
895059928c
1 changed files with 0 additions and 13 deletions
|
@ -290,17 +290,4 @@ if ($config['board_disable'] && !defined('IN_ADMIN') && !defined('IN_LOGIN'))
|
||||||
trigger_error($message);
|
trigger_error($message);
|
||||||
}
|
}
|
||||||
|
|
||||||
// addslashes to vars if magic_quotes_gpc is off
|
|
||||||
function slash_input_data(&$data)
|
|
||||||
{
|
|
||||||
if (is_array($data))
|
|
||||||
{
|
|
||||||
foreach ($data as $k => $v)
|
|
||||||
{
|
|
||||||
$data[$k] = (is_array($v)) ? slash_input_data($v) : addslashes($v);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $data;
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue