Skip to content

Commit

Permalink
Merge branch 'main' into typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored Sep 17, 2024
2 parents 49c6711 + 22c15d7 commit db42f96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-copyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: php -f shell/update-copyright.php

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: update copyright
title: Updated Copyright
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ public function beforeSave($object)
$value['images'] = Mage::helper('core')->jsonDecode($value['images']);
}

if (!isset($value['values'])) {
$value['values'] = [];
}

if (!is_array($value['values']) && strlen($value['values']) > 0) {
$value['values'] = Mage::helper('core')->jsonDecode($value['values']);
}
Expand Down

0 comments on commit db42f96

Please sign in to comment.