diff --git a/src/Controller/Network.php b/src/Controller/Network.php index 91c5b871c3..0a06da2c31 100644 --- a/src/Controller/Network.php +++ b/src/Controller/Network.php @@ -1,6 +1,7 @@ . + // }}} /** @@ -116,7 +118,7 @@ END; '_template' => 'network/public.html.twig', 'notes' => DB::dql('select n from App\Entity\Note n ' . 'where n.reply_to is not null and n.gsactor_id = :id ' . - 'order by n.created DESC', ['id' => $gsactor_id]), + 'order by n.created DESC', ['id' => $actor_id]), ]; } @@ -128,7 +130,7 @@ END; '_template' => 'network/public.html.twig', 'notes' => DB::dql('select f from App\Entity\Favourite f ' . 'where f.gsactor_id = :id ' . - 'order by f.created DESC', ['id' => $gsactor_id]), + 'order by f.created DESC', ['id' => $actor_id]), ]; } }