Explorar o código

Fix API minor code syntax warning (#2362)

https://github.com/FreshRSS/FreshRSS/issues/2359#issuecomment-480620713
Alexandre Alapetite %!s(int64=7) %!d(string=hai) anos
pai
achega
d26a49bc66
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 						}