Просмотр исходного кода

Fix share POST

https://github.com/FreshRSS/FreshRSS/issues/1289
Alexandre Alapetite 9 лет назад
Родитель
Сommit
cbb6c26db7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Controllers/configureController.php

+ 1 - 1
app/Controllers/configureController.php

@@ -139,7 +139,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
 	 */
 	public function sharingAction() {
 		if (Minz_Request::isPost()) {
-			$params = Minz_Request::fetchGET();
+			$params = Minz_Request::fetchPOST();
 			FreshRSS_Context::$user_conf->sharing = $params['share'];
 			FreshRSS_Context::$user_conf->save();
 			invalidateHttpCache();