mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 22:58:10 +01:00
Editing time foobar
git-svn-id: file:///svn/phpbb/trunk@4061 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
59971466d7
commit
4e71b1b96d
@ -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']);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user