remove each() keyword as it is deprecated as of php-7.2, fixes #479
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -702,7 +702,7 @@ class FroxlorInstall
|
||||
}
|
||||
// language selection
|
||||
$language_options = '';
|
||||
while (list ($language_file, $language_name) = each($this->_languages)) {
|
||||
foreach ($this->_languages as $language_name => $language_file) {
|
||||
$language_options .= makeoption($language_name, $language_file, $this->_activelng, true, true);
|
||||
}
|
||||
// get language-form-template
|
||||
|
||||
Reference in New Issue
Block a user