PhotoMosaic: address deprecation notice in usort call

This commit is contained in:
Aaron van Geffen 2022-12-25 14:06:54 +01:00
parent ce909ccfe5
commit 4d05cebc40
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class PhotoMosaic
}
// Sort photos by priority and date captured.
usort($photos, 'self::orderPhotos');
usort($photos, self::orderPhotos(...));
// Three portraits?
if ($num_portrait === 3)