Skip to content

Commit 394cb87

Browse files
authored
Fixed exception issue
1 parent 3aefcfa commit 394cb87

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Controller/Adminhtml/Actions.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,11 @@ public function _editAction()
196196
$this->messageManager->addException(
197197
$e,
198198
__(
199-
'Something went wrong while saving this %1. %2',
200-
strtolower($model->getOwnTitle()),
199+
'Something went wrong: %1',
201200
$e->getMessage()
202201
)
203202
);
204-
$this->_redirect('*/*/', [$this->_idKey => $model->getId()]);
203+
$this->_redirect('*/*/');
205204
}
206205
}
207206

0 commit comments

Comments
 (0)