From 43b17661920c29e48b14202ed585287e4099f385 Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Fri, 3 May 2019 13:33:23 -0600 Subject: [PATCH] minor menu issues and page name issues -fixed --- index.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.pl b/index.pl index 1220a02..5c129c8 100755 --- a/index.pl +++ b/index.pl @@ -205,7 +205,7 @@ sub render_menu { } sub menu { - my $current_page = (split("/",shift))[1] ? (split("/",shift))[1] : ""; + my $current_page = (split("/",shift))[1]; $current_page =~ s/_dir$//g; my %menus = (); # Handle main menu