From b3c4e905a91d61452a03a67f3e80757694d5a777 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Mon, 9 May 2022 13:49:05 -0400 Subject: [PATCH] after learning more about the code, it won't use the included_species_list.txt file until after considering the privacy_threshold on the entire labels.txt --- scripts/advanced.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/advanced.php b/scripts/advanced.php index 20e2cd8..5ca3f63 100644 --- a/scripts/advanced.php +++ b/scripts/advanced.php @@ -164,14 +164,8 @@ if(isset($_GET['submit'])) { fwrite($fh2, $contents2); } -$count_included = count(file("./scripts/include_species_list.txt")); $count_labels = count(file("./scripts/labels.txt")); - -if($count_included > 0) { - $count = $count_included; -} else { - $count = $count_labels; -} +$count = $count_labels; ?>