From 04cf93e9f9f7c612dde71dd6cc010eb6a8fbbc91 Mon Sep 17 00:00:00 2001 From: abuyoyo Date: Sun, 17 Jan 2021 18:48:54 +0200 Subject: [PATCH] Fix PHP Undefined index notice - print_notice_manager_panel() --- src/NoticeManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NoticeManager.php b/src/NoticeManager.php index bcbd7fd..c6bd1c1 100644 --- a/src/NoticeManager.php +++ b/src/NoticeManager.php @@ -76,7 +76,7 @@ class NoticeManager{ echo '
'; // if auto_collect is ON - we don't need the button. - if (!$this->options['auto_collect']) + if ( empty( $this->options['auto_collect'] ) ) echo '
' ; }