From d23a632983e565d80cf1f7981d0474cc27471f3c Mon Sep 17 00:00:00 2001 From: vulpine Date: Mon, 31 Jan 2022 12:16:53 -0500 Subject: [PATCH] Update footnote2.php --- footnote2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/footnote2.php b/footnote2.php index 1d81791..addbf20 100644 --- a/footnote2.php +++ b/footnote2.php @@ -83,7 +83,7 @@ function Footnote($m) { } $fnid = $fngroup . '_' . $fncount; - $out = ($fn_str_parts[2] != '' && $fntext[$fncount] == '#') ? '' : "[$fncount]"; + $out = (isset($fn_str_parts[2]) && $fn_str_parts[2] != '' && $fntext[$fncount] == '#') ? '' : "[$fncount]"; global $FootnoteBacklinkCharacter; if ($fn_str != '') { $fntext[$fncount] = "
\n" .