fix magic call argument
This commit is contained in:
parent
0deb24f093
commit
02f712560d
@ -425,7 +425,7 @@ class Epc
|
|||||||
while (dcCore::app()->ctx->__get('posts')?->fetch()) {
|
while (dcCore::app()->ctx->__get('posts')?->fetch()) {
|
||||||
$comments = dcCore::app()->blog?->getComments(['post_id' => dcCore::app()->ctx->__get('posts')->f('post_id')]);
|
$comments = dcCore::app()->blog?->getComments(['post_id' => dcCore::app()->ctx->__get('posts')->f('post_id')]);
|
||||||
while ($comments?->fetch()) {
|
while ($comments?->fetch()) {
|
||||||
$content .= $comments->__call('getContent', null);
|
$content .= $comments->__call('getContent', []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user