Fix extremely critical bug that added a space in subject line in html form input. </sarc>

This commit is contained in:
Retro_Guy 2024-11-25 05:43:00 -07:00
parent e6dba7fe7e
commit da8c476634
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ if ($show == 1) {
echo '<td class="np_post_header_subject"><b>' . $text_header["subject"] . '</b></td>';
echo '<td class="np_post_header_instructions"><input class="post" type="text" ';
echo ' name="' . md5($fieldencrypt . "subject") . '" ';
echo ' value="' . htmlspecialchars($subject) . '" ';
echo ' value="' . trim(htmlspecialchars($subject)) . '" ';
echo ' size="40" maxlength="' . $thread_maxSubject . '"></td>';
echo '<td></td></tr><tr>';