Skip to content

A free, self-hostable news aggregator…

Link configuration to proper parameter (#5394)

Alexis Degrugillier68766a98574d
diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.php
index 66cb4e144..79ab269fa 100644
--- a/lib/Minz/Extension.php
+++ b/lib/Minz/Extension.php
@@ -231,10 +231,10 @@ abstract class Minz_Extension {
/** @param 'system'|'user' $type */
private function isExtensionConfigured(string $type): bool {
switch ($type) {
- case 'system':
+ case 'user':
$conf = FreshRSS_Context::$user_conf;
break;
- case 'user':
+ case 'system':
$conf = FreshRSS_Context::$system_conf;
break;
}