From d4b45921c82bc281c36a070d6df65b0c5c4eb7d8 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 6 Nov 2021 15:03:44 +0100 Subject: [PATCH] fix missing global --- inc/lib.epc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inc/lib.epc.php b/inc/lib.epc.php index 01a81ea..ac4f56a 100644 --- a/inc/lib.epc.php +++ b/inc/lib.epc.php @@ -26,6 +26,8 @@ class libEPC public static function defaultAllowedTplValues() { + global $core; + $rs = new arrayObject([ 'entry excerpt' => 'EntryExcerpt', 'entry content' => 'EntryContent', @@ -73,6 +75,8 @@ class libEPC public static function defaultAllowedPubPages() { + global $core; + $rs = new arrayObject([ 'home page' => 'home.html', 'post page' => 'post.html',