projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Job page should work
[platal.git]
/
include
/
geoloc.inc.php
diff --git
a/include/geoloc.inc.php
b/include/geoloc.inc.php
index
de0d4d4
..
a1939b8
100644
(file)
--- a/
include/geoloc.inc.php
+++ b/
include/geoloc.inc.php
@@
-225,7
+225,7
@@
function compare_addresses_text($a, $b)
return false;
}
foreach ($la as $i=>$l) {
- if (levenshtein(
$l, $lb[$i]
) > 3) {
+ if (levenshtein(
trim($l), trim($lb[$i])
) > 3) {
return false;
}
}