From 21947f4aacc7ac91a43145396dc4b01e979ec06f Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Sun, 29 Jan 2023 14:42:13 +0800 Subject: [PATCH] * Fix bug#30823. --- module/custom/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/custom/control.php b/module/custom/control.php index 3025c6d940..7f7aa54bcd 100644 --- a/module/custom/control.php +++ b/module/custom/control.php @@ -251,6 +251,8 @@ class custom extends control } $this->custom->deleteItems("lang=$lang&module=$module§ion=$field&vision={$this->config->vision}"); + if($lang == 'all') $this->custom->deleteItems("lang=$currentLang&module=$module§ion=$field&vision={$this->config->vision}"); + $data = fixer::input('post')->get(); $emptyKey = false; foreach($data->keys as $index => $key)