mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 16:54:44 +02:00
Fix issue processwire/processwire-issues#406 correction of error message in ProcessPageSort
This commit is contained in:
@@ -121,7 +121,7 @@ class ProcessPageSort extends Process {
|
|||||||
|
|
||||||
$sortfield = $parent->sortfield();
|
$sortfield = $parent->sortfield();
|
||||||
if($sortfield && $sortfield != 'sort') {
|
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) {
|
if(!$this->isMoved) {
|
||||||
throw new WireException($msg);
|
throw new WireException($msg);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user