You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
It took me a while to find out what was going on here since I have my own directory and file classes. What I found (which is still an issue in master) is that in DAV\Browser\Plugin.php in function generateDirectoryIndex, the line if ($subNode instanceof DAV\IFile) should be changed to if ($subProps['subNode'] instanceof DAV\IFile) (approx line 319).
Currently the code uses the last $subNode value from the previous loop, which in some cases is not an instance of DAV\IFile. Should be a simple fix.
The text was updated successfully, but these errors were encountered:
Hi,
It took me a while to find out what was going on here since I have my own directory and file classes. What I found (which is still an issue in master) is that in DAV\Browser\Plugin.php in function generateDirectoryIndex, the line
if ($subNode instanceof DAV\IFile)
should be changed toif ($subProps['subNode'] instanceof DAV\IFile)
(approx line 319).Currently the code uses the last $subNode value from the previous loop, which in some cases is not an instance of DAV\IFile. Should be a simple fix.
The text was updated successfully, but these errors were encountered: