Skip to content

Commit 35408f9

Browse files
author
Maxim Medinskiy
committed
MAGETWO-5824: PHP - Hide/Show Column
1 parent ba649a0 commit 35408f9

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Ui/Controller/Adminhtml/Bookmark

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/Controller/Adminhtml/Bookmark/Delete.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ public function __construct(
5050
*/
5151
public function execute()
5252
{
53-
$viewId = array_pop(explode('.', $this->_request->getParam('data')));
53+
$viewIds = explode('.', $this->_request->getParam('data'));
5454
$bookmark = $this->bookmarkManagement->getByIdentifierNamespace(
55-
$viewId,
55+
array_pop($viewIds),
5656
$this->_request->getParam('namespace')
5757
);
5858

0 commit comments

Comments
 (0)