From ffb2a56ff134d22ac26af8e052c3b59b80a842e4 Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 20 Oct 2007 19:31:51 +0000 Subject: [PATCH] MDL-11857 missing addslashes on idnumber field during backup restore --- backup/restorelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/restorelib.php b/backup/restorelib.php index 6351186a92..f41434de2f 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -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 -- 2.39.5