mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
_rfile
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user