mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 10:14:33 -04:00
API fix feed rename
https://github.com/FreshRSS/FreshRSS/issues/1254 https://github.com/jangernert/FeedReader/issues/59#issuecomment-249558202
This commit is contained in:
1 parent
273d28b763
commit
d5ca360ca9
2 files changed
+5
-6
No files matched your search
@@ -474,7 +474,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
|
||||
}
|
||||
|
||||
public static function moveFeed($feed_id, $cat_id, $new_cat_name = '') {
|
||||
if ($feed_id <= 0) {
|
||||
if ($feed_id <= 0 || ($cat_id <= 0 && $new_cat_name == '')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user