Skip to content

Commit

Permalink
Apply Prestashop Php coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
alcinovanrooyen authored and github-actions[bot] committed Nov 1, 2023
1 parent 65fdff2 commit 0ffee7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 8/pitchprint/pitchprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ private function updateProducts($params)
}

if ($row['pitchprint_customization']) {
if (gettype($row['pitchprint_customization']) === 'object')
$row['pitchprint_cusotmization'] = json_decode(json_encode($row['pitchprint_customization']),true);
if (gettype($row['pitchprint_customization']) === 'object') {
$row['pitchprint_cusotmization'] = json_decode(json_encode($row['pitchprint_customization']), true);
}
$row['pitchprint_customization']['links'] = [];
if (strpos($row['pitchprint_customization']['distiller'], 'io') !== false) {
$row['pitchprint_customization']['links']['pdf']
Expand Down

0 comments on commit 0ffee7b

Please sign in to comment.