]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/Features.php
Merge pull request #12622 from nupplaphil/bug/config
[friendica.git] / src / Module / Admin / Features.php
index 6fdefb0a9c1d89a0f8c1868109c33f2e02e51829..8878895c80b742877ff24934682014636ff0deb8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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);
                                }