aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_compose.php
diff options
context:
space:
mode:
authorMikelAlejoBR <mikelalejobr@outlook.com>2018-07-23 17:45:48 +0200
committerMikelAlejoBR <mikelalejobr@outlook.com>2018-07-23 17:45:48 +0200
commit210c5f5a59a9885b2680432e1d9f4fd915548b27 (patch)
treee15c4254b533acc3d16125d79cc23e7cf4a88ded /phpBB/includes/ucp/ucp_pm_compose.php
parent04899d1efd261493111e309600531d363b73bc46 (diff)
downloadforums-210c5f5a59a9885b2680432e1d9f4fd915548b27.tar
forums-210c5f5a59a9885b2680432e1d9f4fd915548b27.tar.gz
forums-210c5f5a59a9885b2680432e1d9f4fd915548b27.tar.bz2
forums-210c5f5a59a9885b2680432e1d9f4fd915548b27.tar.xz
forums-210c5f5a59a9885b2680432e1d9f4fd915548b27.zip
[ticket/15697] Remove hard coded time check when sending PMs
PHPBB3-15697
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_compose.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index bf18e76568..a8d5b8b402 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -80,7 +80,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
$group_helper = $phpbb_container->get('group_helper');
// Was cancel pressed? If so then redirect to the appropriate page
- if ($cancel || ($current_time - $lastclick < 2 && $submit))
+ if ($cancel)
{
if ($msg_id)
{