Merge pull request #780 from AndreasK79/adif_parser_bugfix_for_feed

[Adif_parser] Bugfix for the feed function that is used by the API. F…
这个提交包含在:
Peter Goodhall 2020-12-27 10:41:21 +00:00 提交者 GitHub
当前提交 0b84d4c005
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -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