Browse Source

Fix API minor code syntax warning (#2362)

https://github.com/FreshRSS/FreshRSS/issues/2359#issuecomment-480620713
Alexandre Alapetite 7 years ago
parent
commit
d26a49bc66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      p/api/greader.php

+ 1 - 1
p/api/greader.php

@@ -377,7 +377,7 @@ function subscriptionEdit($streamNames, $titles, $action, $add = '', $remove = '
 						$http_auth = '';
 						try {
 							$feed = FreshRSS_feed_Controller::addFeed($streamUrl, $title, $addCatId, $c_name, $http_auth);
-							continue;
+							continue 2;
 						} catch (Exception $e) {
 							Minz_Log::error('subscriptionEdit error subscribe: ' . $e->getMessage(), API_LOG);
 						}