From b0f37a306ed892e68b5aa1561be26b74594b7f4b Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Tue, 17 Oct 2017 05:44:30 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#406 correction of error message in ProcessPageSort --- wire/modules/Process/ProcessPageSort.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Process/ProcessPageSort.module b/wire/modules/Process/ProcessPageSort.module index ddd598e9..0c7a64f7 100644 --- a/wire/modules/Process/ProcessPageSort.module +++ b/wire/modules/Process/ProcessPageSort.module @@ -121,7 +121,7 @@ class ProcessPageSort extends Process { $sortfield = $parent->sortfield(); if($sortfield && $sortfield != 'sort') { - $msg = sprintf($this->_("Your sort was not saved because these pages are automatically sorted by %s."), $parent->sortfield); + $msg = sprintf($this->_("Your sort was not saved because these pages are automatically sorted by %s."), $sortfield); if(!$this->isMoved) { throw new WireException($msg); } else {