mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-11857 missing addslashes on idnumber field during backup restore
This commit is contained in:
parent
549bf9cd73
commit
ffb2a56ff1
1 changed files with 1 additions and 1 deletions
|
@ -2203,7 +2203,7 @@
|
||||||
//Unset the id because it's going to be inserted with a new one
|
//Unset the id because it's going to be inserted with a new one
|
||||||
unset ($user->id);
|
unset ($user->id);
|
||||||
// relink the descriptions
|
// 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:
|
//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
|
// - if the field isn't set, we are in a pre 1.4 backup and we'll
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue