diff --git a/includes/classes/class-formgent.php b/includes/classes/class-formgent.php index 00a1cbbd9..3c0374155 100644 --- a/includes/classes/class-formgent.php +++ b/includes/classes/class-formgent.php @@ -247,7 +247,7 @@ protected function get_responses_query() { $join->on_raw( 'post.ID = CAST(response_meta.meta_value AS UNSIGNED)' ); } ) - ->where_not_is_null( 'post.post_author' ) + ->where_not_null( 'post.post_author' ) ->where( 'post.post_author', $user_id ) ->where( 'post.post_status', 'publish' ) ->where( 'response.is_completed', 1 );