Skip to content

Commit 8b6c2e9

Browse files
Initialize sync_types array
This ensures that even if the sync types aren't loaded, there's no fatal errors due to sync_types being null
1 parent 05e87d4 commit 8b6c2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/class-sync.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Sync implements Setup, Assets {
5151
*
5252
* @var array
5353
*/
54-
protected $sync_types;
54+
protected $sync_types = array();
5555

5656
/**
5757
* Holds a list of unsynced images to push on end.

0 commit comments

Comments
 (0)