Commit 39dd6aba authored by David Maus's avatar David Maus
Browse files

Swallow record separator

parent 9566baae
...@@ -140,6 +140,10 @@ class PicaNormReader extends Reader ...@@ -140,6 +140,10 @@ class PicaNormReader extends Reader
$record['fields'] []= $field; $record['fields'] []= $field;
} }
} }
if (!$this->feof()) {
// Swallow record separator
$this->getc();
}
return empty($record) ? false : $record; return empty($record) ? false : $record;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment