Check if lang is defined in supplangs

This commit is contained in:
pezcurrel 2023-11-02 20:57:21 +01:00
parent b115a12d64
commit b0e2ac7a5a

View file

@ -215,6 +215,7 @@ if ($opts['updstats']) {
while ($row=mysqli_fetch_assoc($res)) {
//echo($row['UID'].' '.$row['URL'].' '.$row['Lang'].' '.$row['TS'].N);
$hits++;
if (array_key_exists($row['Lang'],$supplangs))
$supplangs[$row['Lang']]['hc']++;
$hitspage[$row['URL']]++;
if (!in_array($row['UID'],$buf)) {