mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°3905 - Polishing: CSV Import
This commit is contained in:
@@ -1228,8 +1228,8 @@ EOF
|
||||
{
|
||||
$sSeparator = $aGuesses['separator'];
|
||||
}
|
||||
if ($sSeparator == 'tab') {
|
||||
$sSeparator = "\t";
|
||||
if ($sSeparator == "\t") {
|
||||
$sSeparator = "tab";
|
||||
}
|
||||
$sOtherSeparator = in_array($sSeparator, array(',', ';', "\t")) ? '' : $sSeparator;
|
||||
$aSep['other'] = Dict::S('UI:CSVImport:SeparatorOther').' <input type="text" size="3" maxlength="1" name="other_separator" id="other_separator" value="'.htmlentities($sOtherSeparator, ENT_QUOTES, 'UTF-8').'" onChange="DoPreview()"/>';
|
||||
|
||||
Reference in New Issue
Block a user