mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 16:15:22 +02:00
[ticket/13759] Take post_time into account
PHPBB3-13759
This commit is contained in:
parent
c46024bfa2
commit
a53b57c8a2
@ -1542,7 +1542,14 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($data['post_time']))
|
||||||
|
{
|
||||||
|
$current_time = $data['post_time'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
$current_time = time();
|
$current_time = time();
|
||||||
|
}
|
||||||
|
|
||||||
if ($mode == 'post')
|
if ($mode == 'post')
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user