Bug 24151: Add warning to the about page if key is missing in the config
[koha-equinox.git] / about.pl
index 066db24..2135399 100755 (executable)
--- a/about.pl
+++ b/about.pl
@@ -518,6 +518,13 @@ $template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs;
     }
 }
 
+{
+    # Test 'key' config for Pseudonymization
+    $template->param( config_key_no_set => 1 )
+      if C4::Context->preference('Pseudonymization')
+      and not C4::Context->config('key');
+}
+
 my %versions = C4::Context::get_versions();
 
 $template->param(