]> BookStack Code Mirror - bookstack/commitdiff
Maintenance: Fixed type issue, updated translator list
authorDan Brown <redacted>
Wed, 19 Nov 2025 14:38:35 +0000 (14:38 +0000)
committerDan Brown <redacted>
Wed, 19 Nov 2025 14:38:35 +0000 (14:38 +0000)
.github/translators.txt
app/Search/SearchIndex.php
dev/licensing/php-library-licenses.txt

index 0f3bf18fce83cea1667ce7ff1e7bed3856c03b70..67eea48743a449083be534dc0aeb955561bc9868 100644 (file)
@@ -511,3 +511,4 @@ MrCharlesIII :: Arabic
 David Olsen (dawin) :: Danish
 ltnzr :: French
 Frank Holler (holler.frank) :: German; German Informal
+Korab Arifi (korabidev) :: Albanian
index 117d069ea77e5836203ae826966b0804ffab7794..ce78831eeae18a30f7c780c24e593697fbd1d062 100644 (file)
@@ -126,7 +126,7 @@ class SearchIndex
         $termMap = $this->textToTermCountMap($text);
 
         foreach ($termMap as $term => $count) {
-            $termMap[$term] = floor($count * $scoreAdjustment);
+            $termMap[$term] = intval($count * $scoreAdjustment);
         }
 
         return $termMap;
index 090b243d8e15c06d51b6c6aeaaeb3d717e4e20b8..276f392306230b1a5f9acb51dd5e3060ce70a4ae 100644 (file)
@@ -13,7 +13,7 @@ Link: http://aws.amazon.com/sdkforphp
 bacon/bacon-qr-code
 License: BSD-2-Clause
 License File: vendor/bacon/bacon-qr-code/LICENSE
-Copyright: Copyright (c) 2017, Ben Scholzen 'DASPRiD'
+Copyright: Copyright (c) 2017-present, Ben Scholzen 'DASPRiD'
 All rights reserved.
 Source: https://github.com/Bacon/BaconQrCode.git
 Link: https://github.com/Bacon/BaconQrCode