Boards - Message Storage Bug Fix
1.0
Because of the Bug, the Text of a Message is stored in the Index-Files (Board/*.txt's). This is wrong! The Message-Text should only be stored in the normal Message Files (Messages/*.txt).
Because of that Bug, the Indexes can become very big - a useless waste of space!
Christian Land
Sources/Post.pl
open (FILE, ">$boardsdir/$currentboard.txt") || &fatal_error("$txt{'23'} $currentboard.dat");
&lock(FILE);
$followto = $FORM{'followto'};
if($followto eq "") {
print FILE "$postnum\|$subject\|$name\|$email\|$date\|0\|$username\|$FORM{'icon'}\|0\|$message\|$ns\n";
print FILE @messages;
open (FILE, ">$boardsdir/$currentboard.txt") || &fatal_error("$txt{'23'} $currentboard.dat");
&lock(FILE);
$followto = $FORM{'followto'};
if($followto eq "") {
print FILE "$postnum\|$subject\|$name\|$email\|$date\|0\|$username\|$FORM{'icon'}\|0\n";
print FILE @messages;