From 88437e42cc57ba855c62112d8b2b2531f515ff88 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 24 Jul 2020 14:21:58 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#1216 --- wire/core/MarkupQA.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/MarkupQA.php b/wire/core/MarkupQA.php index f403c0ed..cb2b6f11 100644 --- a/wire/core/MarkupQA.php +++ b/wire/core/MarkupQA.php @@ -547,7 +547,7 @@ class MarkupQA extends Wire { // linked page is in trash, we won't update it but we'll produce a warning $this->linkWarning("$path => $livePath (" . $this->_('it is in the trash') . ')'); continue; - } else if(strpos($livePath, $adminPath) !== false) { + } else if(strpos($livePath, $adminPath) === 0) { // do not update paths that point in admin $this->linkWarning("$path => $livePath (" . $this->_('points to the admin') . ')'); continue;