[Fixed] Topic count SQL error when no admin set

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

SQL 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 ') AS `topic_count`, (SELECT COUNT(id) FROM `mod_whmcs_forum_re' at line 2 - Full Query: SELECT( SELECT COUNT(id) FROM `mod_whmcs_forum_topics` WHERE `admin_id` = ) AS `topic_count`, (SELECT COUNT(id) FROM `mod_whmcs_forum_replies` WHERE `admin_id` = ) AS `reply_count`;


Director at No Half Pixels Ltd.

04/05/2014 14:06:33

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

Fixed 1.0.1


Director at No Half Pixels Ltd.

04/05/2014 19:04:58