FEATURE #2354 @2h30m: add pipeline for edit and create new content
This commit is contained in:
@@ -18,7 +18,7 @@ class LoadCommentsForBlogpost implements Process
|
||||
*/
|
||||
function handle(Content & $content)
|
||||
{
|
||||
if ($content->handler != Article::class)
|
||||
if ($content->moduleHandler != Article::class)
|
||||
return;
|
||||
|
||||
$content->comments = new Collection();
|
||||
|
||||
Reference in New Issue
Block a user