diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php index d9321fd..17d4d75 100644 --- a/public/index.php +++ b/public/index.php @@ -38,7 +38,7 @@ authorize_user(); <div class="counter"> <?php $db = new PDO(DB_URL, DB_USER, DB_PASS); - $results = $db->query("SELECT COUNT(*) FROM emotes"); + $results = $db->query("SELECT COUNT(*) FROM emotes WHERE visibility = 1"); $count = $results->fetch()[0]; foreach (str_split($count) as $c) { |
