Bug in CFileHelper class

In CFileHelper::findFilesRecursive() and CFileHelper::copyDirectoryRecursive() is used such checking


while($file=readdir($handle))

But it should be


while(($file=readdir($handle)) !== false)

Because if $handle will be "0" (file named as 0) then it will breaks the circle.

Thank you! Fixed.