changeset 9:232086da1670

Fix generating of sub-album/dirs names without gallery.info to specify title.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 04 Jun 2015 03:40:52 +0300
parents 0a284f2ccc73
children d63d2f0307b0
files mgtool.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mgtool.php	Sat May 30 12:09:40 2015 +0300
+++ b/mgtool.php	Thu Jun 04 03:40:52 2015 +0300
@@ -543,7 +543,7 @@
   mgCheckQuit(TRUE);
 
   // Recurse to subdirectories
-  foreach ($entries as $ename => $edata)
+  foreach ($entries as $ename => &$edata)
   if ($edata["type"] == 1)
   {
     $epath = $path."/".$ename."/";