Fixed a bug in “Threads” moderation reporting

This commit is contained in:
pezcurrel 2023-12-26 23:42:11 +01:00
parent b2fa12b541
commit 7a7bdf97ec

View file

@ -628,13 +628,15 @@ while ($if<$il && $row=mysqli_fetch_assoc($res)) {
$out.='<div><span class="ilab">'._('Metas Threads moderation').'</span> ';
if (is_null($row['Threads']))
$out.=_('Unknown (the list of moderated instances is not accessible)');
elseif ($row['Threads']=='accessible')
$out.=_('Threads is neither suspended nor limited');
elseif ($row['Threads']=='suspended')
$out.=_('Threads is suspended');
elseif ($row['Threads']=='limited')
$out.=_('Threads is limited');
else
$out.=_('Unknown').': «'.htmlentities($row['Threads']).';
$out.=_('Unknown value').': «'.htmlentities($row['Threads']).; '._('please contact masthelp[at]insicuri.net');
$out.='</div>'.N;
$out.='<div><span class="ilab">'._('Most used hashtags (last week)').'</span> ';