aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index f647b30940..62ef28bfb3 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -199,7 +199,7 @@ if ($mode == 'edit' && !$auth->acl_get('m_edit', $forum_id))
trigger_error('USER_CANNOT_EDIT');
}
- if (!($post_data['post_time'] > time() - $config['edit_time'] || !$config['edit_time']))
+ if (!($post_data['post_time'] > time() - ($config['edit_time'] * 60) || !$config['edit_time']))
{
trigger_error('CANNOT_EDIT_TIME');
}