From 919b1b42fa1c2823bb7945d3988e3b67f1b006fb Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 24 Oct 2017 23:17:47 +0200 Subject: [PATCH] fix uninitialised rank variable when regrouping searches --- lib/Geocode.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Geocode.php b/lib/Geocode.php index 4072aae2..496a3c6b 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -457,6 +457,7 @@ class Geocode continue; } + $iRank = $oSearch->getRank(); if (!isset($aGroupedSearches[$iRank])) { $aGroupedSearches[$iRank] = array(); } -- 2.39.5