From e0cdb8a9401c3cc81867da95a0da452cc0242bd7 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 14 Dec 2022 21:30:47 -0500 Subject: [PATCH] Show lock status even when feature is disabled in Admin/Features --- src/Module/Admin/Features.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Admin/Features.php b/src/Module/Admin/Features.php index 6fdefb0a9c..e6a80f6ebe 100644 --- a/src/Module/Admin/Features.php +++ b/src/Module/Admin/Features.php @@ -50,7 +50,7 @@ class Features extends BaseAdmin DI::config()->set('feature', $feature, $val); if (!empty($_POST[$featurelock])) { - DI::config()->set('feature_lock', $feature, $val); + DI::config()->set('feature_lock', $feature, 1); } else { DI::config()->delete('feature_lock', $feature); }