mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 12:10:45 +02:00
Fix issue processwire/processwire-issues#1216
This commit is contained in:
@@ -547,7 +547,7 @@ class MarkupQA extends Wire {
|
|||||||
// linked page is in trash, we won't update it but we'll produce a warning
|
// 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') . ')');
|
$this->linkWarning("$path => $livePath (" . $this->_('it is in the trash') . ')');
|
||||||
continue;
|
continue;
|
||||||
} else if(strpos($livePath, $adminPath) !== false) {
|
} else if(strpos($livePath, $adminPath) === 0) {
|
||||||
// do not update paths that point in admin
|
// do not update paths that point in admin
|
||||||
$this->linkWarning("$path => $livePath (" . $this->_('points to the admin') . ')');
|
$this->linkWarning("$path => $livePath (" . $this->_('points to the admin') . ')');
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user