fix syntax errors from introduction of SearchDescription

This commit is contained in:
Sarah Hoffmann
2017-10-08 15:26:14 +02:00
parent 16268f92cc
commit 75e35f3832
3 changed files with 60 additions and 54 deletions

View File

@@ -51,14 +51,6 @@ function getDatabaseDate(&$oDB)
}
function bySearchRank($a, $b)
{
if ($a['iSearchRank'] == $b['iSearchRank'])
return strlen($a['sOperator']) + strlen($a['sHouseNumber']) - strlen($b['sOperator']) - strlen($b['sHouseNumber']);
return ($a['iSearchRank'] < $b['iSearchRank']?-1:1);
}
function byImportance($a, $b)
{
if ($a['importance'] != $b['importance'])