We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dcc1b4 commit 2e9e75cCopy full SHA for 2e9e75c
app/code/Magento/Backend/Block/Widget/Form/Container.php
@@ -83,7 +83,7 @@ protected function _construct()
83
-1
84
);
85
86
- $objId = $this->getRequest()->getParam($this->_objectId);
+ $objId = (int)$this->getRequest()->getParam($this->_objectId);
87
88
if (!empty($objId)) {
89
$this->addButton(
@@ -155,7 +155,7 @@ public function getBackUrl()
155
*/
156
public function getDeleteUrl()
157
{
158
- return $this->getUrl('*/*/delete', [$this->_objectId => $this->getRequest()->getParam($this->_objectId)]);
+ return $this->getUrl('*/*/delete', [$this->_objectId => (int)$this->getRequest()->getParam($this->_objectId)]);
159
}
160
161
/**
0 commit comments