diff options
| -rw-r--r-- | phpBB/includes/functions_posting.php | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index a06d6f4c35..fdf09aab7f 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1542,7 +1542,14 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u  		return false;  	} -	$current_time = time(); +	if (!empty($data['post_time'])) +	{ +		$current_time = $data['post_time']; +	} +	else +	{ +		$current_time = time(); +	}  	if ($mode == 'post')  	{  | 
