diff --git a/web/site/instances.php b/web/site/instances.php index 637cd70..a5ecb91 100644 --- a/web/site/instances.php +++ b/web/site/instances.php @@ -736,11 +736,14 @@ while ($if<$il && $row=mysqli_fetch_assoc($res)) { $out.='
'._('Moderated instances').'
'; if ($row['PublicBlocksList']==1) { $sevmap=['silence'=>_('limited'), 'suspend'=>_('suspended')]; - $rres=tquery('SELECT Domain, Severity, Comment FROM InstBlocks WHERE InstID='.$row['ID'],__LINE__); + $rres=tquery("SELECT Domain, Severity, Comment, ID FROM InstBlocks LEFT JOIN Instances ON URI=Domain WHERE InstID={$row['ID']} ORDER BY Domain ASC",__LINE__); if (mysqli_num_rows($rres)>0) { $out.='