Ensure arguments' types are correct
This commit is contained in:
@@ -85,7 +85,7 @@ class ProductViewHelper extends AbstractViewHelper
|
||||
->getControllerContext()
|
||||
->getUriBuilder()
|
||||
->reset()
|
||||
->setTargetPageUid($product['detailPage'])
|
||||
->setTargetPageUid((int)$product['detailPage'])
|
||||
->uriFor('detail', $linkArguments, 'Product', 'epproducts', 'product_detail')
|
||||
;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user