Răsfoiți Sursa

Fix a call to $system_conf

See https://github.com/FreshRSS/FreshRSS/issues/730
Marien Fressinaud 11 ani în urmă
părinte
comite
ce9298439b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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();