[Adif_parser] Bugfix for the feed function that is used by the API. Fixes #779.

pull/780/head
Andreas 2020-12-27 10:36:15 +01:00
rodzic 3fe6a69807
commit 339ee6e3a7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -117,6 +117,7 @@ class ADIF_Parser
public function feed($input_data) //allows the parser to be fed a string
{
$this->data = $input_data;
$this->datasplit = preg_split("/<eor>/i", substr($this->data, $this->i));
}
public function load_from_file($fname) //allows the user to accept a filename as input