]> git.mjollnir.org Git - moodle.git/commitdiff
fix for 5256
authortoyomoyo <toyomoyo>
Thu, 20 Apr 2006 02:25:09 +0000 (02:25 +0000)
committertoyomoyo <toyomoyo>
Thu, 20 Apr 2006 02:25:09 +0000 (02:25 +0000)
blog/edit.php

index 699271ee9ddd272b096b5b51153993309ce6b948..c44f10fd8735c3a3ff7b4db0d7d5d51eca443df1 100755 (executable)
@@ -116,7 +116,7 @@ if ($editid) {  // User is editing a post
 
     //using an unformatted entry body here so that extra formatting information is not stored in the db
     $post->body = $blogEntry->summary;
-    $post->etitle = $blogEntry->subject;
+    $post->etitle = stripslashes_safe($blogEntry->subject);
     $post->postid = $editid;
     $post->userid = $blogEntry->userid;
     $post->format = $blogEntry->format;