mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 07:18:08 +02:00
[ticket/15697] Remove hard coded time check when sending PMs
PHPBB3-15697
This commit is contained in:
@@ -80,7 +80,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
|||||||
$group_helper = $phpbb_container->get('group_helper');
|
$group_helper = $phpbb_container->get('group_helper');
|
||||||
|
|
||||||
// Was cancel pressed? If so then redirect to the appropriate page
|
// Was cancel pressed? If so then redirect to the appropriate page
|
||||||
if ($cancel || ($current_time - $lastclick < 2 && $submit))
|
if ($cancel)
|
||||||
{
|
{
|
||||||
if ($msg_id)
|
if ($msg_id)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user