]> git.mjollnir.org Git - moodle.git/commitdiff
Reinstated the line in stripslashes_safe() that removes the slash that escapes a...
authorgustav_delius <gustav_delius>
Mon, 27 Dec 2004 23:40:42 +0000 (23:40 +0000)
committergustav_delius <gustav_delius>
Mon, 27 Dec 2004 23:40:42 +0000 (23:40 +0000)
lib/weblib.php

index d20a0862ef7d26252d60e7654cc2e34a5863836a..f281860986f3a18ad4024e13eaf20d04e4cf4c25 100644 (file)
@@ -313,7 +313,7 @@ function stripslashes_safe($string) {
 
     $string = str_replace("\\'", "'", $string);
     $string = str_replace('\\"', '"', $string);
-    //$string = str_replace('\\\\', '\\', $string);  // why?
+    $string = str_replace('\\\\', '\\', $string);
     return $string;
 }