diff --git a/app/src/Controller/PagesController.php b/app/src/Controller/PagesController.php index 8233564f8..d823ff348 100644 --- a/app/src/Controller/PagesController.php +++ b/app/src/Controller/PagesController.php @@ -70,7 +70,7 @@ public function deliver(string $coid, string $name) { if(!$CoSettings->uploadsEnabled()) { $this->Flash->error(__d('error', 'MostlyStaticResources.disabled')); - return $this->redirect(StringUtilities::pagesUrl($coId, "error-landing")); + return $this->redirect(StringUtilities::pagesUrl($coid, "error-landing")); } $MSRTable = TableRegistry::getTableLocator()->get("MostlyStaticResources");