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:
Michael Kaufmann (d00p)
2017-10-31 13:03:06 +01:00
parent 15b62aae04
commit 421c29c491
10 changed files with 23 additions and 26 deletions

View File

@@ -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