diff --git a/administrator/components/com_workflow/Controller/StatesController.php b/administrator/components/com_workflow/Controller/StatesController.php index ca79a7c6e4148..6f6819d9aacb2 100644 --- a/administrator/components/com_workflow/Controller/StatesController.php +++ b/administrator/components/com_workflow/Controller/StatesController.php @@ -129,6 +129,26 @@ public function setDefault() ); } + /** + * Check in of one or more records. + * + * @return boolean True on success + * + * @since __DEPLOY_VERSION__ + */ + public function checkin() + { + parent::checkin(); + + $this->setRedirect( + Route::_( + 'index.php?option=' . $this->option . '&view=' . $this->view_list + . '&extension=' . $this->input->getCmd('extension') + . '&workflow_id=' . $this->input->getCmd('workflow_id'), false + ) + ); + } + /** * Deletes and returns correctly. *