mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-11857 missing addslashes on idnumber field during backup restore
This commit is contained in:
parent
549bf9cd73
commit
ffb2a56ff1
@ -2203,7 +2203,7 @@
|
||||
//Unset the id because it's going to be inserted with a new one
|
||||
unset ($user->id);
|
||||
// relink the descriptions
|
||||
$user->description = backup_todb($user->description);
|
||||
$user->description = stripslashes(backup_todb($user->description));
|
||||
|
||||
//We need to analyse the AUTH field to recode it:
|
||||
// - if the field isn't set, we are in a pre 1.4 backup and we'll
|
||||
|
Loading…
x
Reference in New Issue
Block a user