changeset 336:0d1bd22fcb39

PHP 8 fix.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 19 Jun 2023 12:44:52 +0300
parents c9147be13386
children 7ae898141a16
files mgallery.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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").