Skip to content

Commit 8e782ad

Browse files
author
Craig Manley
committed
Remove 1 debug message.
1 parent 355cc0b commit 8e782ad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CVS

CSVReader.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @author Craig Manley
1414
* @copyright Copyright © 2010, Craig Manley (www.craigmanley.com)
1515
* @license http://www.opensource.org/licenses/mit-license.php Licensed under MIT
16-
* @version $Id: CSVReader.php,v 1.13 2014/01/11 17:05:24 cmanley Exp $
16+
* @version $Id: CSVReader.php,v 1.14 2014/01/24 11:29:56 cmanley Exp $
1717
* @package cmanley
1818
*/
1919

@@ -365,7 +365,7 @@ function __construct($file, array $options = null) {
365365
$this->line_separator = "\n";
366366
}
367367
}
368-
error_log(__METHOD__ . ' Guessed line separator: ' . bin2hex($this->line_separator));
368+
$this->debug && error_log(__METHOD__ . ' Guessed line separator: ' . bin2hex($this->line_separator));
369369
}
370370

371371
// Determine if transcoding is necessary for _fgetcsv().

0 commit comments

Comments
 (0)