Skip to content

Handle listing objects without 'mtime' attribute in listContents() - #101

Open
wyrfel wants to merge 1 commit into
thephpleague:masterfrom
theiconic:fix-undefined-index-mtime
Open

Handle listing objects without 'mtime' attribute in listContents()#101
wyrfel wants to merge 1 commit into
thephpleague:masterfrom
theiconic:fix-undefined-index-mtime

Conversation

@wyrfel

@wyrfel wyrfel commented Jan 16, 2020

Copy link
Copy Markdown

Currently SftpAdapter throws an undefined index 'mtime' error if the SFTP server returns no mtime attributes with the listing response. This fixes that by normalising this case to null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants