]> git.mxchange.org Git - friendica.git/commitdiff
Fix variable name in constructor in Repository\Report
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 22 Aug 2023 12:50:16 +0000 (08:50 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 22 Aug 2023 12:50:16 +0000 (08:50 -0400)
src/Moderation/Repository/Report.php

index e405f780812b062073827fc3198e50dd2e25b1d1..29f03435173997b3c6a1711605e2cd66398ac978 100644 (file)
@@ -48,7 +48,7 @@ final class Report extends \Friendica\BaseRepository
 
                $this->factory     = $factory;
                $this->postFactory = $postFactory;
-               $this->ruleFactory = $postFactory;
+               $this->ruleFactory = $ruleFactory;
        }
 
        public function selectOneById(int $lastInsertId): \Friendica\Moderation\Entity\Report