summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/FeedsCSVParser.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FeedsCSVParser.inc b/plugins/FeedsCSVParser.inc
index 4600621..58ed9c3 100644
--- a/plugins/FeedsCSVParser.inc
+++ b/plugins/FeedsCSVParser.inc
@@ -19,7 +19,7 @@ class FeedsCSVParser extends FeedsParser {
$delimiter = $source_config['delimiter'] == 'TAB' ? "\t" : $source_config['delimiter'];
$parser->setDelimiter($delimiter);
- if ($source_config['no_headers'] < 1) {
+ if (empty($source_config['no_headers'])) {
// Get first line and use it for column names, convert them to lower case.
$header = $this->parseHeader($parser, $iterator);
if (!$header) {