From 3624792bd6942023ef24703cba9d82e4f67e73ed Mon Sep 17 00:00:00 2001 From: Steffen K9 Date: Tue, 11 Jul 2023 22:37:45 +0200 Subject: [PATCH] Fix db error: missing column name 'line-text' See https://github.com/friendica/friendica/issues/13277#issuecomment-1631359293 --- src/Moderation/Repository/Report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Moderation/Repository/Report.php b/src/Moderation/Repository/Report.php index 4681ea3b98..e405f78081 100644 --- a/src/Moderation/Repository/Report.php +++ b/src/Moderation/Repository/Report.php @@ -109,7 +109,7 @@ final class Report extends \Friendica\BaseRepository } $reportPosts = new Collection\Report\Posts(array_map([$this->postFactory, 'createFromTableRow'], $this->db->selectToArray('report-post', ['uri-id', 'status'], ['rid' => $condition['id'] ?? 0]))); - $reportRules = new Collection\Report\Rules(array_map([$this->ruleFactory, 'createFromTableRow'], $this->db->selectToArray('report-rule', ['line-id', 'line-text'], ['rid' => $condition['id'] ?? 0]))); + $reportRules = new Collection\Report\Rules(array_map([$this->ruleFactory, 'createFromTableRow'], $this->db->selectToArray('report-rule', ['line-id', 'text'], ['rid' => $condition['id'] ?? 0]))); return $this->factory->createFromTableRow($fields, $reportPosts, $reportRules); } -- 2.39.5