Skip to content

Error when symbolic link is part of listed files #155

Description

@flohw

Hi,

I get the following error when rendering a list of files which contains a symbolic link : array_key_exists(): Argument #2 ($array) must be of type array, null given (given when redering the list template, on File::isImage() call.

This is due to FileTypeService::preview not treating the link value returned by SplFileInfo::getType.

I will provide a PR for that issue.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions