From 03e6b6e878f1a06d245f9e08ac0cefbc5e7e95f0 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 23 Oct 2016 20:40:40 +0200 Subject: [PATCH] Fix Var Bug --- ffrouter_parsen.function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffrouter_parsen.function.php b/ffrouter_parsen.function.php index 97fb36a..605f20d 100644 --- a/ffrouter_parsen.function.php +++ b/ffrouter_parsen.function.php @@ -188,7 +188,7 @@ if (filter_var($community[$community_id]["download_path"], FILTER_VALIDATE_URL) for( $j=0; $j<$installation_count; $j++ ) { if($variante[$entwicklung[$i]][$installation[$j]] == 1) { $file_count = count($files[$entwicklung[$i]][$installation[$j]]); - for( $x=0; $x<$some_count; $x++) { + for( $x=0; $x<$file_count; $x++) { $anzahl_hersteller = count($hersteller); for( $y=0; $y<$anzahl_hersteller; $y++) { if($pos = stripos($files[$entwicklung[$i]][$installation[$j]][$x], $hersteller[$y]['filename'], $pos_hersteller[$entwicklung[$i]][$installation[$j]]-1) !== false) {