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

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)