Skip to content

Exception string: Unsupported image type '$type'. #71

@JosefRypacek

Description

@JosefRypacek

Hi,

I've just got weird message, while saving image. It seems like typo.
throw new Nette\InvalidArgumentException('Unsupported image type \'$type\'.')

So I would like to fix & pull, but suggested solution is not good enough. When user uploads image "example.jpegg" variable $type is empty and message is: Unsupported image type ''.
throw new Nette\InvalidArgumentException("Unsupported image type '$type'.");

Can somebody (with more experience) take this issue?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions