X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=bin%2Fcli.class.php;h=195792554074fd8994f34c275613579a1ecc05c0;hb=ffaace3214501bdd003458b1716297f412a7806b;hp=5020e8171ba4ce18cc9b07ea8a930828c925c211;hpb=66ff7bd5749030c71dd6e1c45583118cf77388bb;p=civicrm-core.git diff --git a/bin/cli.class.php b/bin/cli.class.php index 5020e8171b..1957925540 100644 --- a/bin/cli.class.php +++ b/bin/cli.class.php @@ -418,9 +418,6 @@ class civicrm_cli_csv_file extends civicrm_cli { $this->separator = ";"; rewind($handle); $header = fgetcsv($handle, 0, $this->separator); - if (count($header) == 1) { - die("Invalid file format for " . $this->_file . ". It must be a valid csv with separator ',' or ';'\n"); - } } $this->header = $header;