This commit is contained in:
Laurent Destailleur
2024-05-09 18:15:57 +02:00
parent 4a2db9698d
commit 458ffdb23e
28 changed files with 30 additions and 30 deletions

View File

@@ -73,7 +73,7 @@ class FormAdmin
public function select_language($selected = '', $htmlname = 'lang_id', $showauto = 0, $filter = array(), $showempty = '', $showwarning = 0, $disabled = 0, $morecss = '', $showcode = 0, $forcecombo = 0, $multiselect = 0, $onlykeys = array(), $mainlangonly = 0)
{
// phpcs:enable
global $conf, $langs;
global $langs;
if (getDolGlobalString('MAIN_DEFAULT_LANGUAGE_FILTER')) {
if (!is_array($filter)) {