mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-22 16:22:58 +02:00
[ticket/13740] Fix itteration problems, implement class name aware collections
PHPBB3-13740
This commit is contained in:
@@ -137,9 +137,9 @@ class installer
|
||||
foreach ($this->installer_modules as $name => $module)
|
||||
{
|
||||
// Skip forward until the current task is reached
|
||||
if (!empty($task_name) && !$module_found)
|
||||
if (!$module_found)
|
||||
{
|
||||
if ($module_name === $name)
|
||||
if ($module_name === $name || empty($module_name))
|
||||
{
|
||||
$module_found = true;
|
||||
}
|
||||
@@ -245,7 +245,7 @@ class installer
|
||||
/**
|
||||
* Recover install progress
|
||||
*
|
||||
* @return int Index of the next installer module to execute
|
||||
* @return string Index of the next installer module to execute
|
||||
*/
|
||||
protected function recover_progress()
|
||||
{
|
||||
|
Reference in New Issue
Block a user