Global: Fix photo uploads

Resolves #524
This commit is contained in:
Ilya Prokopenko 2022-03-30 16:52:14 +03:00
parent 6c496ef0ed
commit 17a60f24e8
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56

View file

@ -84,7 +84,7 @@ class Photo extends Media
return $res;
}
static function fastMake(int $owner, array $file, string $description = "", ?Album $album = NULL, bool $anon = false): Photo
static function fastMake(int $owner, string $description = "", array $file, ?Album $album = NULL, bool $anon = false): Photo
{
$photo = new static;
$photo->setOwner($owner);