From 07e13afb2ae4cc92709ff090fb2ea2e40f347ccf Mon Sep 17 00:00:00 2001 From: Matthias Czech Date: Mon, 17 Mar 2025 17:41:10 +0100 Subject: [PATCH] only select active hashtags --- refresh.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refresh.php b/refresh.php index fc98921..7b83098 100644 --- a/refresh.php +++ b/refresh.php @@ -31,7 +31,7 @@ try { $bearerToken = '99jJEXMrMPSGKyg0wp-OrGJ-5s38XPLlE0lmNmv6QSI'; // Alle Hashtags aus der Tabelle abrufen -$stmt = $pdo->query("SELECT hashtag, hashtag_id FROM hashtags"); +$stmt = $pdo->query("SELECT hashtag, hashtag_id FROM hashtags WHERE active = 1;"); $hashtags = $stmt->fetchAll(); if (!$hashtags) {