Skip to content

Commit

Permalink
🐞 fix: DB erro when installing Iconset
Browse files Browse the repository at this point in the history
  • Loading branch information
chkilel committed Jun 28, 2022
1 parent ec0948b commit 6ac630c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ public static function installIconSet($prefix)
$iconData['created_at'] = now()->toDateTimeString();
$iconData['updated_at'] = now()->toDateTimeString();

// Not used in DB
unset($iconData['lastModified']);

$iconsToSave[] = $iconData;
}

Expand Down
2 changes: 2 additions & 0 deletions updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
- upgrade_icon_sets_table.php
3.0.0:
- 'OCMS 3 compatible version'
3.0.1:
- 'Fix DB erro when installing Iconset'

0 comments on commit 6ac630c

Please sign in to comment.