Browse Source

Eliminated $message = Database::escape_string($message)

Ricardo Rodriguez 15 years ago
parent
commit
ce2958504b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      main/forum/forumfunction.inc.php

+ 0 - 1
main/forum/forumfunction.inc.php

@@ -1838,7 +1838,6 @@ function store_thread($values) {
 		$sql="UPDATE $table_threads SET thread_last_post='".Database::escape_string($last_post_id)."'  WHERE thread_id='".Database::escape_string($last_thread_id)."'";
 		$result=Database::query($sql, __LINE__, __FILE__);
 		$message=get_lang('NewThreadStored');
-		$message= Database::escape_string($message);
 		// Storing the attachments if any
 		if ($has_attachment) {
 			$courseDir   = $_course['path'].'/upload/forum';