diff --git a/components/com_content/src/Controller/ArticleController.php b/components/com_content/src/Controller/ArticleController.php index 2c440673ce2ee..b6005eb5b9a98 100644 --- a/components/com_content/src/Controller/ArticleController.php +++ b/components/com_content/src/Controller/ArticleController.php @@ -367,6 +367,12 @@ protected function getReturnPage() public function save($key = null, $urlVar = 'a_id') { $result = parent::save($key, $urlVar); + + if (\in_array($this->getTask(), ['save2copy', 'apply'], true)) + { + return $result; + } + $app = Factory::getApplication(); $articleId = $app->input->getInt('a_id'); diff --git a/components/com_content/tmpl/form/edit.php b/components/com_content/tmpl/form/edit.php index 5b5865023f31e..1437c88d14546 100644 --- a/components/com_content/tmpl/form/edit.php +++ b/components/com_content/tmpl/form/edit.php @@ -157,10 +157,14 @@
- + showSaveAsCopy) : ?>