Skip to content

Commit b5ed759

Browse files
committed
Fix to call a new sub only if available
1 parent a010f71 commit b5ed759

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

authentic-init.pl

+5-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,11 @@ sub embed_header
408408

409409
# Head theme overlay
410410
embed_overlay_head();
411-
411+
412+
# Embed theme switcher
413+
print &ui_switch_theme_javascript()
414+
if (defined(&ui_switch_theme_javascript));
415+
412416
print '</head>', "\n";
413417
}
414418

0 commit comments

Comments
 (0)