This commit is contained in:
2025-05-07 09:12:58 -07:00
parent e5d79cdd54
commit e920e53325
2 changed files with 2 additions and 2 deletions

View File

@@ -326,7 +326,7 @@ class Site
$options = $cpt['options'] ?? [];
if (isset($cpt["archive"]) && $cpt["archive"]) {
$options["has_archive"] = $this->humanize($cpt["slug"], true);
$options["has_archive"] = Util::slugify($this->humanize($cpt["slug"], true));
}
$names = $this->generateLabels($cpt['slug']);