Fix of error.

This commit is contained in:
severak 2020-02-04 12:00:52 +01:00
parent a36f365fe7
commit 1d0492ff6d
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,9 @@ ORDER BY visits DESC', [$site['id']])->fetchAll();
} else {
$error = 'We do not track this site.';
if (!$error) {
$error = 'We do not track this site.';
}
}
} else {
$sites = $pdo->run('SELECT host, label, COUNT(*) AS visits, stats_public