From cc1213fa12d1f1245d402e00ce78e0143a93c832 Mon Sep 17 00:00:00 2001 From: kholo Date: Sat, 9 Sep 2023 22:13:35 +0200 Subject: [PATCH] Variable names correction --- lib/Portfolio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Portfolio.php b/lib/Portfolio.php index a99e864..cbfbad1 100644 --- a/lib/Portfolio.php +++ b/lib/Portfolio.php @@ -40,7 +40,7 @@ final class Portfolio $galleries = []; foreach (array_diff(scandir("./galleries"), [".", ".."]) as $dir) { $path = "./galleries/$dir"; - $meta = "$gallery_path/metadata.txt"; + $meta = "$path/metadata.txt"; if (!is_file($meta)) { continue; }