Ошибка базы данных.

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

SELECT rubrics FROM billboard WHERE active=1 AND is_moderated=1 AND is_rejected=0 AND date_finish >= CURDATE() AND subdomain_id =

Filename: /var/www/web/sites/subdomains/controllers/billboard.php

Line Number: 214