]> git.mjollnir.org Git - moodle.git/commitdiff
Apply addslashes to data
authorfiedorow <fiedorow>
Thu, 8 Jan 2004 03:51:08 +0000 (03:51 +0000)
committerfiedorow <fiedorow>
Thu, 8 Jan 2004 03:51:08 +0000 (03:51 +0000)
admin/uploaduser.php

index 431c80b2fc6a911c18bef482f65e63835ae376ce..b5898ff503c2a9d551d1315d84787bb0bfcfa091 100755 (executable)
                     }
                     // normal entry
                     else {
-                        $user->{$name} = $value;
+                        $user->{$name} = addslashes($value);
                     }
                 }
                 $user->confirmed = 1;