From: toyomoyo Date: Thu, 20 Apr 2006 02:26:23 +0000 (+0000) Subject: fix for 5256 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2f5196e7208c94044354d98e4e4cb404ea457f79;p=moodle.git fix for 5256 --- diff --git a/blog/edit.php b/blog/edit.php index c44f10fd87..5e8ef8f9be 100755 --- a/blog/edit.php +++ b/blog/edit.php @@ -115,7 +115,7 @@ if ($editid) { // User is editing a post $blogEntry = get_record('post','id',$editid); //using an unformatted entry body here so that extra formatting information is not stored in the db - $post->body = $blogEntry->summary; + $post->body = stripslashes_safe($blogEntry->summary); $post->etitle = stripslashes_safe($blogEntry->subject); $post->postid = $editid; $post->userid = $blogEntry->userid;