Remove get_magic_quotes_gpc (php 8)
This commit is contained in:
@@ -15,11 +15,7 @@ class ToolBox
|
|||||||
|
|
||||||
public static function cleanPost(&$asData)
|
public static function cleanPost(&$asData)
|
||||||
{
|
{
|
||||||
//get rid of magic quotes
|
|
||||||
if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
|
|
||||||
{
|
|
||||||
$asData = self::cleanData($asData, 'stripslashes');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function cleanData($oData, $sCleaningFunc)
|
public static function cleanData($oData, $sCleaningFunc)
|
||||||
|
|||||||
Reference in New Issue
Block a user