FIX: fix latent bug in save pipeline - trim backslashes from handler name

This commit is contained in:
Michal Kváček
2017-03-13 12:08:26 +01:00
parent ed8e2565ff
commit ce58b325c8
4 changed files with 3 additions and 23 deletions
@@ -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;
}