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…
这个提交包含在:
		
						当前提交
						0b84d4c005
					
				
					共有  1 个文件被更改,包括 1 次插入 和 0 次删除
				
			
		|  | @ -117,6 +117,7 @@ class ADIF_Parser | ||||||
| 	public function feed($input_data) //allows the parser to be fed a string
 | 	public function feed($input_data) //allows the parser to be fed a string
 | ||||||
| 	{ | 	{ | ||||||
| 		$this->data = $input_data; | 		$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
 | 	public function load_from_file($fname) //allows the user to accept a filename as input
 | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用