瀏覽代碼

param name

Django Janny 8 年之前
父節點
當前提交
80168545ea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Controllers/feedController.php

+ 2 - 2
app/Controllers/feedController.php

@@ -39,13 +39,13 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
 	 * @throws FreshRSS_Feed_Exception
 	 * @throws FreshRSS_Feed_Exception
 	 * @throws Minz_FileNotExistException
 	 * @throws Minz_FileNotExistException
 	 */
 	 */
-	public static function addFeed($param_url, $title = '', $cat_id = 0, $new_cat_name = '', $http_auth = '') {
+	public static function addFeed($url, $title = '', $cat_id = 0, $new_cat_name = '', $http_auth = '') {
 		FreshRSS_UserDAO::touch();
 		FreshRSS_UserDAO::touch();
 		@set_time_limit(300);
 		@set_time_limit(300);
 
 
 		$catDAO = new FreshRSS_CategoryDAO();
 		$catDAO = new FreshRSS_CategoryDAO();
 
 
-		$url = trim($param_url);
+		$url = trim($url);
 
 
 		$cat = null;
 		$cat = null;
 		if ($new_cat_name != '') {
 		if ($new_cat_name != '') {