mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16913] Move progress bar code to after search state init
PHPBB3-16913
This commit is contained in:
parent
83dfa4847b
commit
91c83fd566
1 changed files with 7 additions and 7 deletions
|
@ -371,13 +371,6 @@ class acp_search
|
||||||
*/
|
*/
|
||||||
private function index_action(string $id, string $mode, string $action): void
|
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...
|
// For some this may be of help...
|
||||||
@ini_set('memory_limit', '128M');
|
@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
|
// Execute create/delete
|
||||||
$type = $this->search_state_helper->type();
|
$type = $this->search_state_helper->type();
|
||||||
$action = $this->search_state_helper->action();
|
$action = $this->search_state_helper->action();
|
||||||
|
|
Loading…
Add table
Reference in a new issue