Software 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 47 at /web/factory/2006.poff.ee/webroot/main.cgi line 536.

For help, please send mail to the webmaster (mrt@factory.ee), giving this error message and the time and date of the error.