File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public function maybe_update_field_groups() {
84
84
public function maybe_update_field_groups_from_json () {
85
85
86
86
// Bail early if no field groups exist.
87
- if ( empty ( $ this ->get_json_field_groups () ) ) {
87
+ if ( ! $ this ->get_json_field_groups () ) {
88
88
89
89
return ;
90
90
}
@@ -265,7 +265,7 @@ public function get_json_field_groups() {
265
265
266
266
// bail early if no field groups.
267
267
if ( empty ( $ groups ) ) {
268
- return ;
268
+ return false ;
269
269
}
270
270
271
271
// find JSON field groups which have not yet been imported.
@@ -287,7 +287,7 @@ public function get_json_field_groups() {
287
287
288
288
// bail if no sync needed.
289
289
if ( empty ( $ sync ) ) {
290
- return ;
290
+ return false ;
291
291
}
292
292
293
293
return $ sync ;
You can’t perform that action at this time.
0 commit comments