Escape posts titles in post history code

This commit is contained in:
Aleksei Miheev
2014-01-05 13:30:45 +00:00
parent b930cc7b4a
commit 7986670917

View File

@@ -1265,7 +1265,7 @@ function Post2()
'{$_REQUEST['msg']}',
'{$context['user']['id']}',
UNIX_TIMESTAMP(),
'{$oldSubject}',
'".mysql_real_escape_string($oldSubject)."',
'{$oldBody}'
)", __FILE__, __LINE__);