DatalistentryController: fix edit
This commit is contained in:
parent
043a8e07e5
commit
1b56432b23
|
@ -11,19 +11,13 @@ class Director_DatalistentryController extends ActionController
|
|||
|
||||
public function editAction()
|
||||
{
|
||||
$this->indexAction();
|
||||
$this->indexAction(true);
|
||||
}
|
||||
|
||||
public function indexAction($edit = false)
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
if ($request->getParam('edit')) {
|
||||
$edit = true;
|
||||
} else {
|
||||
$edit = false;
|
||||
}
|
||||
|
||||
$listId = $this->params->get('list_id');
|
||||
$this->view->lastId = $listId;
|
||||
|
||||
|
|
Loading…
Reference in New Issue