]> git.mjollnir.org Git - moodle.git/commitdiff
Removing a line from stripslashes_safe ... not sure why we were replacing
authormoodler <moodler>
Wed, 31 Mar 2004 08:45:11 +0000 (08:45 +0000)
committermoodler <moodler>
Wed, 31 Mar 2004 08:45:11 +0000 (08:45 +0000)
these double slashes ...

lib/weblib.php

index f0f121602b1f64df38024b413fd3005b182cacab..5ac2a5a720760378671e3227d8208f5d5dff7564 100644 (file)
@@ -188,7 +188,7 @@ function stripslashes_safe($string) {
 
     $string = str_replace("\\'", "'", $string);
     $string = str_replace('\\"', '"', $string);
-    $string = str_replace('\\\\', '\\', $string);
+    //$string = str_replace('\\\\', '\\', $string);  // why?
     return $string;
 }