summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index f655805..8af3568 100755
--- a/bin/efa
+++ b/bin/efa
@@ -64,7 +64,7 @@ sub parse_content($) {
s/\s*<br>\s*/, /g;
s/<[^>]+>//g;
}
- for (my $i = 0; @{$raw->[$offer]} >= (($i+1) * $groupsize); $i++) {
+ for (my $i = 0; @{$raw->[$offer]} >= (($i+1) * $groupsize) - 1; $i++) {
$offset = $i * $groupsize;
undef(@extra);
if ($raw->[$offer]->[$offset+2] =~ /^Fußweg/) {