Zachary Kotlarek hace 13 años
padre
commit
0cb9ed852b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      web/includes/tvdb.php

+ 1 - 0
web/includes/tvdb.php

@@ -47,6 +47,7 @@ function getTVDBPage($id, $lid) {
 
 	# Sleep between downloads to avoid TVDB bans
 	global $TVDB_DELAY;
+	global $TVDB_DELAY_COUNT;
 	global $TVDB_DOWNLOAD_TIME;
 	global $TVDB_DOWNLOAD_COUNT;
 	if ($TVDB_DOWNLOAD_COUNT >= $TVDB_DELAY_COUNT && time() - $TVDB_DOWNLOAD_TIME < $TVDB_DELAY) {