# HG changeset patch # User Matti Hamalainen # Date 1687167892 -10800 # Node ID 0d1bd22fcb390de88125bfebd237e302fea1872d # Parent c9147be13386606258a5100a1a3b47c2cd441b14 PHP 8 fix. diff -r c9147be13386 -r 0d1bd22fcb39 mgallery.php --- a/mgallery.php Mon Jun 19 12:44:26 2023 +0300 +++ b/mgallery.php Mon Jun 19 12:44:52 2023 +0300 @@ -801,7 +801,7 @@ $ptmp[] = count($galAlbumsIndex)." ".mgQM("gallery_nsubalbums"); if (count($ptmp)) - $pageTitle .= " (".implode($ptmp, ", ").")"; + $pageTitle .= " (".implode(", ", $ptmp).")"; echo mgGetPageInfoHeaderStart("galleryPageHeader").