1
0
This commit is contained in:
Daniel Tartavel 2019-09-03 02:39:37 +02:00
parent 713b8d51ec
commit f3827da54e

View File

@ -64,7 +64,7 @@ while ($user = $doldb->result->fetch_assoc())
exit (0);
}
$oc_account_query = 'INSERT INTO oc_accounts (uid, data) VALUES ("' . $user["login"] . '","' . $account_data .'")';
$oc_account_query = 'INSERT INTO oc_accounts (uid, data) VALUES ("' . $user["login"] . '","' . addslashes($account_data) .'")';
$oc_users_query = 'INSERT INTO oc_users (uid, displayname, password, uid_lower) VALUES ("' . $user["login"] . '","' . $user["firstname"] . ' ' . $user["lastname"] . '","1|' . $user["pass_crypted"] . '","' . strtolower($user["login"]) . '")';
if ($user["fk_adherent_type"] == 2)