From 52045ff2631cdfa14efd3379b64843cafd00df8f Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 19 Jun 2006 21:30:32 +0000 Subject: some bugfixes git-svn-id: file:///svn/phpbb/trunk@6104 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/posting.php') 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'); } -- cgit v1.2.1