FIX: fix latent bug in save pipeline - trim backslashes from handler name
This commit is contained in:
@@ -17,7 +17,7 @@ class TurnCommentsOnOrOff implements Process
|
||||
*/
|
||||
function handle(Content & $content, array & $input)
|
||||
{
|
||||
if ($content->moduleHandler !== Article::class) {
|
||||
if (trim($content->moduleHandler, '\\') !== Article::class) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user