From 587797618dca2da7ac82fbb3fbf0efde15594e37 Mon Sep 17 00:00:00 2001
From: Martin Lees <drov0@users.noreply.github.com>
Date: Sat, 2 Apr 2022 13:51:27 -0400
Subject: [PATCH] test wihout php.author_id

---
 hive/db/sql_scripts/hive_post_operations.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hive/db/sql_scripts/hive_post_operations.sql b/hive/db/sql_scripts/hive_post_operations.sql
index 2ade51719..0d266cb7e 100644
--- a/hive/db/sql_scripts/hive_post_operations.sql
+++ b/hive/db/sql_scripts/hive_post_operations.sql
@@ -121,7 +121,7 @@ if _parent_author != '' THEN
         _block_num as block_num, _block_num as block_num_created
   FROM hive_accounts ha,
         hive_permlink_data hpd,
-        process_community_post(_block_num, _community_support_start_block, NULL, _parent_permlink, php.author_id, false) pcp,
+        process_community_post(_block_num, _community_support_start_block, NULL, _parent_permlink, author_id, false) pcp,
         hive_posts php
   INNER JOIN hive_accounts pha ON pha.id = php.author_id
   INNER JOIN hive_permlink_data phpd ON phpd.id = php.permlink_id
-- 
GitLab