Slight tweak to IndexDocumentBundle version check, a=cpollett

Chris Pollett [2022-07-28 18:Jul:th]
Slight tweak to IndexDocumentBundle version check, a=cpollett
Filename
src/library/IndexDocumentBundle.php
diff --git a/src/library/IndexDocumentBundle.php b/src/library/IndexDocumentBundle.php
index a1ed42607..32ebd2e33 100644
--- a/src/library/IndexDocumentBundle.php
+++ b/src/library/IndexDocumentBundle.php
@@ -240,7 +240,7 @@ class IndexDocumentBundle implements CrawlConstants
                 $archive_info_path));
             $just_got_info = true;
         }
-        if ($this->archive_info['VERSION'] < 3.1) {
+        if (floatval($this->archive_info['VERSION']) < 3.1) {
             $this->archive_info['RECORD_COMPRESSOR'] =
                 C\NS_COMPRESSORS . "GzipCompressor";
         }
ViewGit