Freetext import tool now splits the input by line break and whitespace, fixes #502

pull/516/head
iglocska 2015-05-24 10:09:41 +02:00
parent f48acb3723
commit 5559536bf1
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class ComplexTypeTool {
}
public function checkFreeText($input) {
$iocArray = preg_split("/\r\n|\n|\r/", $input);
$iocArray = preg_split("/\r\n|\n|\r|\s|\s+/", $input);
$resultArray = array();
foreach ($iocArray as $ioc) {
$ioc = trim($ioc);