浏览代码

Fix a call to $system_conf

See https://github.com/FreshRSS/FreshRSS/issues/730
Marien Fressinaud 11 年之前
父节点
当前提交
ce9298439b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();