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 1e33c35 commit c7e306fCopy full SHA for c7e306f
app/code/Magento/Review/Block/Form.php
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details.
+ * Copyright 2013 Adobe
+ * All Rights Reserved.
5
*/
6
namespace Magento\Review\Block;
7
@@ -214,6 +214,6 @@ public function getRegisterUrl()
214
215
protected function getProductId()
216
{
217
- return $this->getRequest()->getParam('id', false);
+ return (int) $this->getRequest()->getParam('id', false);
218
}
219
0 commit comments