This commit is contained in:
William Knauss
2014-06-05 20:52:43 -04:00
parent 0c4a804db1
commit 01e71adf36

View File

@@ -1154,8 +1154,8 @@ class parseCSV {
* @return Data from file, or false on failure
*/
protected function _rfile ($file = null) {
if ( is_readable($file) ) {
if ( !($fh = fopen($file, 'r')) ) {
if (is_readable($file)) {
if (!($fh = fopen($file, 'r'))) {
return false;
}