add stripslashes if needed

This commit is contained in:
Lars Kneschke 2003-09-14 16:30:27 +00:00
parent bfb56ec1de
commit 0086593cb6

View File

@ -22,6 +22,11 @@
{
$GLOBALS['phpgw']->redirect_link('/index.php');
}
if(get_magic_quotes_gpc() && is_array($_POST['newsettings']))
{
$_POST['newsettings'] = array_map("stripslashes", $_POST['newsettings']);
}
switch($_GET['appname'])
{