Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
BUG: Wrong use of sscan
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Jomier committed Mar 9, 2011
1 parent ac008ef commit 939daba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/ImportController.php
Expand Up @@ -104,7 +104,7 @@ private function _recursiveParseDirectory($path,$currentdir)
if($fileInfo->isDir()) // we have a directory
{
if(!$this->importemptydirectories
&& ($files = @scandir($fileInfo)) && count($files) <= 2)
&& ($files = @scandir($fileInfo->getPathName())) && count($files) <= 2)
{
continue;
}
Expand Down

0 comments on commit 939daba

Please sign in to comment.