1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-19 07:41:08 +01:00

fix subject bug

git-svn-id: file:///svn/phpbb/trunk@5011 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2004-10-30 17:04:44 +00:00
parent cb3424716a
commit 34a954eaf1

View File

@ -494,7 +494,7 @@ if ($load && $drafts)
if ($submit || $preview || $refresh)
{
$topic_cur_post_id = request_var('topic_cur_post_id', 0);
$subject = request_var('subject', '');
$subject = preg_replace('#&(\#[0-9]+;)#', '&\1', request_var('subject', ''));
if (strcmp($subject, strtoupper($subject)) == 0 && $subject)
{