Quote:
Originally Posted by Boofo
Found another boo-boo with this. If you add an attachment to a pm and then preview the pm, the attachment has detatched itself. Then, without saving the message, view your attachments and you will see the attachment in the listing.
|
A couple of changes to fix this. Thanks for spotting this, Boofo.
In private.php search for this
Code:
$poststarttime = TIMENOW;
change it to
Code:
if ($_POST['poststarttime'])
{
$poststarttime = $_POST['poststarttime'];
}
else
{
$poststarttime = TIMENOW;
}
In the template pm_newpm, search for this
Code:
<input type="hidden" name="posthash" value="$posthash" />
change it to
Code:
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
TXT updated also