mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 23:11:45 +02:00
some bugfixes
git-svn-id: file:///svn/phpbb/trunk@6104 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -243,7 +243,7 @@ function compose_pm($id, $mode, $action)
|
||||
|
||||
if ($action == 'edit' && !$refresh && !$preview && !$submit)
|
||||
{
|
||||
if (!($message_time > time() - $config['pm_edit_time'] || !$config['pm_edit_time']))
|
||||
if (!($message_time > time() - ($config['pm_edit_time'] * 60) || !$config['pm_edit_time']))
|
||||
{
|
||||
trigger_error('CANNOT_EDIT_MESSAGE_TIME');
|
||||
}
|
||||
|
Reference in New Issue
Block a user