From 81a6f8c0da0a32a8b81d143ca0a85c643cb06868 Mon Sep 17 00:00:00 2001 From: paladox Date: Thu, 21 Feb 2019 00:39:15 +0000 Subject: [PATCH] Fix PHP Notice: Uninitialized string offset: 0' --- classes/Parameters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Parameters.php b/classes/Parameters.php index fbf633d..b16076c 100644 --- a/classes/Parameters.php +++ b/classes/Parameters.php @@ -1182,7 +1182,7 @@ public function _table($option) { if (is_array($sectionLabels[$i]) && $sectionLabels[$i][0] == '#') { $multiSectionSeparators[$i] = "\n----\n"; } - if ($sectionLabels[$i][0] == '#') { + if ($sectionLabels[$i] && $sectionLabels[$i][0] == '#') { $multiSectionSeparators[$i] = "\n----\n"; } else { $multiSectionSeparators[$i] = "
\n";