Skip to content

Commit

Permalink
Merge pull request #2 from vdcstore123/patch-1
Browse files Browse the repository at this point in the history
Patch 1
  • Loading branch information
landofcoder authored Feb 14, 2023
2 parents 70df6d7 + c7b7f3d commit acf0776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Helper/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function resizeImage($image, $width = 100, $height = 0, $qualtity = 100,
* @param mixed $file Specific file
* @return string
*/
public function getImg($product, $w=300, $h, $imgVersion='image', $file=null)
public function getImg($product, $w = 300, $h = 0, $imgVersion='image', $file=null)
{
if ($h <= 0) {
$image = $this->_imageHelper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<item name="component" xsi:type="string">Magento_Ui/js/grid/provider</item>
<item name="update_url" xsi:type="url" path="mui/index/render"/>
<item name="storageConfig" xsi:type="array">
<item name="indexField" xsi:type="string">category_id</item>
<item name="indexField" xsi:type="string">testimonial_id</item>
</item>
</item>
</argument>
Expand Down

0 comments on commit acf0776

Please sign in to comment.