Repaired bug on  SQL syntax on forums lib (XTEC patch)