From 34e289b783745dbbf2e858d91e0ccf34815ecdaa Mon Sep 17 00:00:00 2001 From: Armanul46 <47377178+Armanul46@users.noreply.github.com> Date: Mon, 9 Feb 2026 10:47:31 +0600 Subject: [PATCH] fixed formgent query issue --- includes/classes/class-formgent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );