瀏覽代碼

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

Ricardo Rodriguez 15 年之前
父節點
當前提交
ce2958504b
共有 1 個文件被更改,包括 0 次插入1 次删除
  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';