mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 08:01:27 +02:00
[ticket/16913] Move progress bar code to after search state init
PHPBB3-16913
This commit is contained in:
@@ -371,13 +371,6 @@ class acp_search
|
||||
*/
|
||||
private function index_action(string $id, string $mode, string $action): void
|
||||
{
|
||||
// Start displaying progress on first submit
|
||||
if ($this->request->is_set_post('submit'))
|
||||
{
|
||||
$this->display_progress_bar($id, $mode);
|
||||
return;
|
||||
}
|
||||
|
||||
// For some this may be of help...
|
||||
@ini_set('memory_limit', '128M');
|
||||
|
||||
@@ -399,6 +392,13 @@ class acp_search
|
||||
}
|
||||
}
|
||||
|
||||
// Start displaying progress on first submit
|
||||
if ($this->request->is_set_post('submit'))
|
||||
{
|
||||
$this->display_progress_bar($id, $mode);
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute create/delete
|
||||
$type = $this->search_state_helper->type();
|
||||
$action = $this->search_state_helper->action();
|
||||
|
Reference in New Issue
Block a user