Skip to content

Commit 01e0be5

Browse files
committed
Fix sync check failure when there are no media files to be synced
1 parent 2349954 commit 01e0be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Profile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Profile {
2121
/** @var array the options we use to query the files to sync */
2222
protected $syncoptions;
2323
/** @var array the list of files to sync */
24-
protected $synclist = [];
24+
protected $synclist = [self::TYPE_PAGES => [], self::TYPE_MEDIA => []];
2525

2626
/**
2727
* Profile constructor.

0 commit comments

Comments
 (0)