Explorar o código

Fix a call to $system_conf

See https://github.com/FreshRSS/FreshRSS/issues/730
Marien Fressinaud %!s(int64=11) %!d(string=hai) anos
pai
achega
ce9298439b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Controllers/authController.php

+ 1 - 1
app/Controllers/authController.php

@@ -52,7 +52,7 @@ class FreshRSS_auth_Controller extends Minz_ActionController {
 				FreshRSS_Context::$system_conf->unsafe_autologin_enabled = $unsafe_autologin;
 				FreshRSS_Context::$system_conf->api_enabled = $api_enabled;
 
-				$ok &= $system_conf->save();
+				$ok &= FreshRSS_Context::$system_conf->save();
 			}
 
 			invalidateHttpCache();