mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Editing time foobar
git-svn-id: file:///svn/phpbb/trunk@4061 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -317,7 +317,7 @@ if (($forum_status == ITEM_LOCKED || $topic_status == ITEM_LOCKED) && !$perm['m_
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Can we edit this post?
|
// 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']);
|
trigger_error($user->lang['CANNOT_EDIT_TIME']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user