Apply addslashes to adminuser data
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
|
||||
while (!feof ($fp)) {
|
||||
foreach ($optionalDefaults as $key => $value) {
|
||||
$user->$key = $adminuser->$key;
|
||||
$user->$key = addslashes($adminuser->$key);
|
||||
}
|
||||
//Note: commas within a field should be encoded as ,
|
||||
$line = split("\,", fgets($fp,1024));
|
||||
|
||||
Reference in New Issue
Block a user