diff --git a/includes/classes/admin/mapping/field-types/acf.php b/includes/classes/admin/mapping/field-types/acf.php index ceb5033..608a218 100644 --- a/includes/classes/admin/mapping/field-types/acf.php +++ b/includes/classes/admin/mapping/field-types/acf.php @@ -39,7 +39,7 @@ public function underscore_template( View $view ) { // ============= BUILD FIELD GROUP OPTIONS ============= $group_results = $wpdb->get_results( - "SELECT * FROM wp_posts WHERE post_type = 'acf-field-group' AND post_status = 'publish' AND post_parent = 0" + "SELECT * FROM {$wpdb->posts} WHERE post_type = 'acf-field-group' AND post_status = 'publish' AND post_parent = 0" ); // FIELD GROUPS