From 4e71b1b96d21e78463a768004c1c8ed2e1d952d5 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 26 May 2003 14:07:11 +0000 Subject: [PATCH] Editing time foobar git-svn-id: file:///svn/phpbb/trunk@4061 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/posting.php b/phpBB/posting.php index 79a07a4f78..3d8ce85e59 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -317,7 +317,7 @@ if (($forum_status == ITEM_LOCKED || $topic_status == ITEM_LOCKED) && !$perm['m_ } // Can we edit this post? -if (($mode == 'edit' || $mode == 'delete') && !$perm['m_edit'] && $config['edit_time'] && $post_time > time() - $config['edit_time']) +if (($mode == 'edit' || $mode == 'delete') && !$perm['m_edit'] && $config['edit_time'] && $post_time < time() - $config['edit_time']) { trigger_error($user->lang['CANNOT_EDIT_TIME']); }