Check if lang is defined in supplangs
This commit is contained in:
parent
b115a12d64
commit
b0e2ac7a5a
1 changed files with 2 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue