Skip to content

Commit 653a6be

Browse files
committed
chore: update cache version
1 parent 7bf893a commit 653a6be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: |
7272
echo "::set-output name=dir::$(composer config cache-files-dir)"
7373
- name: Setup Composer cache
74-
uses: actions/cache@v1
74+
uses: actions/cache@v4
7575
with:
7676
path: ${{ steps.composer-cache.outputs.dir }}
7777
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

includes/Importers/Content_Importer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public function setup_masteriyo( $data ) {
351351
return;
352352
}
353353

354-
if ( $data['settings'] ) {
354+
if ( isset( $data['settings'] ) ) {
355355
foreach ( $data['settings'] as $key => $value ) {
356356
masteriyo_set_setting( $key, $value );
357357
}

0 commit comments

Comments
 (0)