This commit is contained in:
2025-12-29 01:42:44 +01:00
parent c9773db510
commit da82fe679f

View File

@@ -17,7 +17,7 @@ if ($q !== '' && $pdo) {
ORDER BY starts_at ASC ORDER BY starts_at ASC
LIMIT 100' LIMIT 100'
); );
$stmt->execute(['q' => $like]); $stmt->execute([':q' => $like]);
$results = $stmt->fetchAll(PDO::FETCH_ASSOC) ?: []; $results = $stmt->fetchAll(PDO::FETCH_ASSOC) ?: [];
} }
?> ?>