mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #3538 from RMcGirr83/ticket/13759
[ticket/13759] Take post_time into account
This commit is contained in:
commit
84bbd4490e
1 changed files with 8 additions and 1 deletions
|
@ -1542,7 +1542,14 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!empty($data['post_time']))
|
||||
{
|
||||
$current_time = $data['post_time'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$current_time = time();
|
||||
}
|
||||
|
||||
if ($mode == 'post')
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue