SQL-DATABASE ERROR
Database error in WoltLab Burning Board (): Invalid SQL: SELECT threadid, IF(voted>0 AND voted>=0,votepoints/voted,0) AS vote FROM bb1_threads WHERE boardid='31' AND visible = 1 AND important < 2 AND (important=1 OR lastposttime >= '1701169393') ORDER BY important DESC,
mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
mysql error number: 1064
mysql version: 5.5.40-0+wheezy1
php version: 5.6.40-53+0~20210826.55+debian9~1.gbp975ea4
Date: 28.11.2023 @ 12:03
Script: /board.php?boardid=31&sid=9e46550137794f7e7e2a92a8ecddc9c7
Referer: