mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15699] Fix messages
PHPBB3-15699
This commit is contained in:
@@ -153,7 +153,7 @@ class acp_storage
|
||||
break;
|
||||
}
|
||||
|
||||
if (!check_form_key($form_key) || !check_link_hash($this->request->variable('hash', ''), 'acp_storage'))
|
||||
if (!check_link_hash($this->request->variable('hash', ''), 'acp_storage'))
|
||||
{
|
||||
trigger_error($this->user->lang('FORM_INVALID') . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
@@ -163,8 +163,9 @@ class acp_storage
|
||||
foreach ($this->state['storages'] as $storage_name => $storage_options)
|
||||
{
|
||||
// Skip storages that have already moved files
|
||||
if ($this->state['storage_index'] > $i++)
|
||||
if ($this->state['storage_index'] > $i)
|
||||
{
|
||||
$i++;
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -209,8 +210,9 @@ class acp_storage
|
||||
foreach ($this->state['storages'] as $storage_name => $storage_options)
|
||||
{
|
||||
// Skip storages that have already moved files
|
||||
if ($this->state['remove_storage_index'] > $i++)
|
||||
if ($this->state['remove_storage_index'] > $i)
|
||||
{
|
||||
$i++;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user