From 95bd83786ec00ce5d4b8100d8a0205017bbbddb7 Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Mon, 2 Jan 2023 08:37:07 +0100 Subject: [PATCH] =?UTF-8?q?Fixed=20a=20bug=20that=20caused=20=E2=80=9Clang?= =?UTF-8?q?uages=E2=80=9D=20to=20be=20always=20saved=20as=20=E2=80=9Courla?= =?UTF-8?q?nguages=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/clitools/getinstinfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/clitools/getinstinfo.php b/web/clitools/getinstinfo.php index 44e3cbb..7a2ed09 100755 --- a/web/clitools/getinstinfo.php +++ b/web/clitools/getinstinfo.php @@ -668,7 +668,7 @@ if ($instanswered && isset($idata['languages']) && is_array($idata['languages']) } if (!$opts['dryrun']) { myq($link,'DELETE FROM InstOurLangs WHERE InstID='.$instid,__LINE__); - $langids=getlangsidsarr($idata['languages'],$link,$opts['hostname'],$opts['dryrun'],__LINE__); + $langids=getlangsidsarr($idata['ourlanguages'],$link,$opts['hostname'],$opts['dryrun'],__LINE__); $pos=0; foreach ($langids as $langid) { $pos++;