Merge pull request #18745 from Hystepik/develop#1

Fix actions_addupdatedelete.inc.php on lang
This commit is contained in:
Laurent Destailleur 2021-09-18 16:09:04 +02:00 committed by GitHub
commit 30fb0d65bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ if ($action == 'add' && !empty($permissiontoadd)) {
$value = $tmparraykey[GETPOST($key)].','.GETPOST($key.'2');
} else {
if ($key == 'lang') {
$value = GETPOST($key, 'aZ09');
$value = GETPOST($key, 'aZ09')?GETPOST($key, 'aZ09'):"";
} else {
$value = GETPOST($key, 'alphanohtml');
}