Merge branch 'master' of https://github.com/haxatron/BookStack into haxatron_upload_issue

This commit is contained in:
Dan Brown 2021-10-27 12:21:27 +01:00
commit b31fbf5ba8
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9

View file

@ -38,7 +38,7 @@ class ImageRepo
*/
public function imageExtensionSupported(string $extension): bool
{
return in_array(trim($extension, '. \t\n\r\0\x0B'), static::$supportedExtensions);
return in_array(trim($extension, ". \t\n\r\0\x0B"), static::$supportedExtensions);
}
/**