diff --git a/core/imageboard/misc.php b/core/imageboard/misc.php index 0b871a78..d1816e5f 100644 --- a/core/imageboard/misc.php +++ b/core/imageboard/misc.php @@ -20,8 +20,9 @@ function add_dir(string $base): array $filename = basename($full_path); $tags = path_to_tags($short_path); - if ($tags[0] == "\\") - $tags = ""; + if ($tags[0] == "\\") { + $tags = ""; + } $result = "$short_path (".str_replace(" ", ", ", $tags).")... "; try { add_image($full_path, $filename, $tags);