Skip to content

Commit 6c2ac24

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-96918' into 2.2.8-develop-pr71
2 parents b116185 + 1958681 commit 6c2ac24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Backend/Block/Widget/Form/Container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected function _construct()
8383
-1
8484
);
8585

86-
$objId = $this->getRequest()->getParam($this->_objectId);
86+
$objId = (int)$this->getRequest()->getParam($this->_objectId);
8787

8888
if (!empty($objId)) {
8989
$this->addButton(
@@ -155,7 +155,7 @@ public function getBackUrl()
155155
*/
156156
public function getDeleteUrl()
157157
{
158-
return $this->getUrl('*/*/delete', [$this->_objectId => $this->getRequest()->getParam($this->_objectId)]);
158+
return $this->getUrl('*/*/delete', [$this->_objectId => (int)$this->getRequest()->getParam($this->_objectId)]);
159159
}
160160

161161
/**

0 commit comments

Comments
 (0)