mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge branch '3.1.x'
This commit is contained in:
commit
510f704bc8
1 changed files with 8 additions and 1 deletions
|
@ -1552,7 +1552,14 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$current_time = time();
|
if (!empty($data['post_time']))
|
||||||
|
{
|
||||||
|
$current_time = $data['post_time'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$current_time = time();
|
||||||
|
}
|
||||||
|
|
||||||
if ($mode == 'post')
|
if ($mode == 'post')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue