From 02f712560ddeab46219261c8dc9546742b5fee19 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 23 Apr 2023 14:41:10 +0200 Subject: [PATCH] fix magic call argument --- src/Epc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Epc.php b/src/Epc.php index 2c07a64..90eb6a2 100644 --- a/src/Epc.php +++ b/src/Epc.php @@ -425,7 +425,7 @@ class Epc while (dcCore::app()->ctx->__get('posts')?->fetch()) { $comments = dcCore::app()->blog?->getComments(['post_id' => dcCore::app()->ctx->__get('posts')->f('post_id')]); while ($comments?->fetch()) { - $content .= $comments->__call('getContent', null); + $content .= $comments->__call('getContent', []); } }