Browse Source

You mean "continue" not "next"

Zachary Kotlarek 13 years ago
parent
commit
3fe5706a8d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      web/seasonMaint.php

+ 2 - 2
web/seasonMaint.php

@@ -18,7 +18,7 @@ foreach ($all_series as $series => $seasons) {
 
 
 	# Respect the "skip" flag
 	# Respect the "skip" flag
 	if ($flags['skip']) {
 	if ($flags['skip']) {
-		next;
+		continue;
 	}
 	}
 
 
 	# Grab the TVDB season list
 	# Grab the TVDB season list
@@ -34,7 +34,7 @@ foreach ($all_series as $series => $seasons) {
 		# Sanity check
 		# Sanity check
 		if ($tvdb_max - $local_max > 5) {
 		if ($tvdb_max - $local_max > 5) {
 			echo 'TheTVDB lists ' . $tvdb_max . ' season for ' . $series. ". Skipping...\n";
 			echo 'TheTVDB lists ' . $tvdb_max . ' season for ' . $series. ". Skipping...\n";
-			next;
+			continue;
 		}
 		}
 
 
 		# Add the seasons
 		# Add the seasons